Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.196/3.196, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 62.34 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4022, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002822/0.4051, allocations: 1.529 MB / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003488/0.4054, allocations: 111.7 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.4054, allocations: 0 / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.524e-05/0.4055, allocations: 0 / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.4055, allocations: 11.88 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.4058, allocations: 23.95 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.588e-05/0.4059, allocations: 55.78 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.406, allocations: 8 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.406, allocations: 15.92 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.4061, allocations: 19.92 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.4061, allocations: 4 kB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.4062, allocations: 23.98 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.4062, allocations: 7.984 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.4062, allocations: 27.78 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.4064, allocations: 60.09 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4064, allocations: 0 / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4064, allocations: 7.938 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.4064, allocations: 0 / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005712/0.407, allocations: 310 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.407, allocations: 8.031 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.769e-05/0.407, allocations: 4.188 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.4071, allocations: 34.75 kB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.4073, allocations: 32.8 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.4075, allocations: 118.4 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.4075, allocations: 384 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.4075, allocations: 384 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.4078, allocations: 85.95 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4078, allocations: 0 / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.4078, allocations: 0 / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4078, allocations: 0 / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.4081, allocations: 87.84 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.4086, allocations: 271.9 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.4089, allocations: 70.53 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.409, allocations: 44.91 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.4091, allocations: 0 / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.4091, allocations: 38.5 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4091, allocations: 0 / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0006172/0.4097, allocations: 153.5 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.4097, allocations: 51.41 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.4099, allocations: 133 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.4099, allocations: 25.7 kB / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.41, allocations: 92.12 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.41, allocations: 19.84 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.41, allocations: 13.72 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4102, allocations: 326.8 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.4104, allocations: 31.97 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.4105, allocations: 39.95 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.4108, allocations: 96.97 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4108, allocations: 0 / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003719/0.4112, allocations: 117.6 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4112, allocations: 4 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4112, allocations: 8 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4112, allocations: 3.938 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4114, allocations: 15.97 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4114, allocations: 0 / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.4115, allocations: 11.98 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.4115, allocations: 8 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.757e-05/0.4116, allocations: 113.8 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.4116, allocations: 4 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.4117, allocations: 19.92 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4117, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4117, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4117, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.4119, allocations: 156.6 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4119, allocations: 7.938 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.412, allocations: 15.97 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.412, allocations: 0 / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.412, allocations: 4 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.412, allocations: 4 kB / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.412, allocations: 0 / 1.35 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.4124, allocations: 207.4 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.4125, allocations: 7.953 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.4125, allocations: 0 / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.4126, allocations: 19.97 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.4126, allocations: 4 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.4126, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.296e-05/0.4127, allocations: 103.2 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4127, allocations: 4 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002328/0.4129, allocations: 12 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007912/0.4137, allocations: 0.7358 MB / 1.351 GB, free: 10.63 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.4141, allocations: 83.91 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4141, allocations: 11.94 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.4143, allocations: 39.95 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.4146, allocations: 8 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.4151, allocations: 191 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.4155, allocations: 0.6885 MB / 1.352 GB, free: 9.547 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.4155, allocations: 4 kB / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.4156, allocations: 19.69 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.4156, allocations: 0 / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.4381, allocations: 2.014 MB / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.96, allocations: 8 kB / 1.354 GB, free: 7.648 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.84972563799238]