Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001098, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009009/0.00901, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.34/3.34, allocations: 470.6 MB / 0.7442 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005156, allocations: 9.469 kB / 0.9122 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4488, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001812/0.4507, allocations: 1.108 MB / 1.071 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00428/0.455, allocations: 2.879 MB / 1.074 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.4551, allocations: 0 / 1.074 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.4552, allocations: 7.922 kB / 1.074 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.4553, allocations: 39.81 kB / 1.074 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.4559, allocations: 155.4 kB / 1.074 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.4563, allocations: 343.3 kB / 1.074 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.4564, allocations: 0 / 1.074 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4565, allocations: 91.86 kB / 1.074 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.4567, allocations: 135.7 kB / 1.075 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.4567, allocations: 12 kB / 1.075 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.4572, allocations: 151.7 kB / 1.075 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.4573, allocations: 87.81 kB / 1.075 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.4575, allocations: 125.2 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.4579, allocations: 263.6 kB / 1.075 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4579, allocations: 0 / 1.075 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4579, allocations: 0 / 1.075 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4579, allocations: 0 / 1.075 GB, free: 6.008 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001005/0.4589, allocations: 0.5301 MB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.459, allocations: 8.031 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.4591, allocations: 20.75 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.4594, allocations: 241.1 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.4595, allocations: 24.36 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.4595, allocations: 12.38 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.4603, allocations: 333.2 kB / 1.076 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4603, allocations: 0 / 1.076 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.4603, allocations: 4 kB / 1.076 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4604, allocations: 4 kB / 1.076 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.4621, allocations: 0.8077 MB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.4626, allocations: 309 kB / 1.077 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.4645, allocations: 0.7737 MB / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.4652, allocations: 260.7 kB / 1.078 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.4656, allocations: 396.3 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.4657, allocations: 42.44 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.843e-06/0.4657, allocations: 0 / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001903/0.4676, allocations: 0.7418 MB / 1.079 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.4677, allocations: 59.41 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.4678, allocations: 122.6 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.4679, allocations: 33.7 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.4679, allocations: 88.73 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.4681, allocations: 134.1 kB / 1.08 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.4681, allocations: 33.7 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4683, allocations: 326.8 kB / 1.08 GB, free: 472 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.4689, allocations: 223.8 kB / 1.08 GB, free: 248 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.4695, allocations: 231.5 kB / 1.081 GB, free: 16 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.4706, allocations: 425.2 kB / 1.081 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4706, allocations: 0 / 1.081 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001284/0.4719, allocations: 0.5162 MB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4719, allocations: 4 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4719, allocations: 0 / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4719, allocations: 4 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.4723, allocations: 107.9 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4724, allocations: 0 / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.4726, allocations: 67.73 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.4726, allocations: 15.98 kB / 1.082 GB, free: 14.88 MB / 0.8419 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 (37): * Single equations (assignments): 37 * 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 0.000172/0.4728, allocations: 141.8 kB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.4729, allocations: 19.75 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.4743, allocations: 0.5705 MB / 1.082 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.4743, allocations: 4 kB / 1.082 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4744, allocations: 3.984 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4744, allocations: 0 / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.4748, allocations: 313.3 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4748, allocations: 0 / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.4752, allocations: 115.8 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4752, allocations: 4 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.4752, allocations: 8 kB / 1.083 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4752, allocations: 0 / 1.083 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.4753, allocations: 3.984 kB / 1.083 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.4765, allocations: 0.5509 MB / 1.083 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.4766, allocations: 100.8 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.4767, allocations: 12 kB / 1.084 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4769, allocations: 43.97 kB / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.4772, allocations: 115.8 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.4772, allocations: 19.98 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.245e-05/0.4773, allocations: 97.14 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4773, allocations: 3.938 kB / 1.084 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004321/0.4778, allocations: 115.9 kB / 1.084 GB, free: 12.56 MB / 0.8419 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 (37): * Single equations (assignments): 37 * 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.0004018/0.4782, allocations: 203 kB / 1.084 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.4795, allocations: 0.5152 MB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4795, allocations: 0 / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.4802, allocations: 299.8 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.4806, allocations: 77.02 kB / 1.085 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008798/0.4815, allocations: 494.2 kB / 1.085 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.4819, allocations: 0.7331 MB / 1.086 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004538/0.4824, allocations: 182.2 kB / 1.086 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.4825, allocations: 35.41 kB / 1.086 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.4825, allocations: 7.938 kB / 1.086 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of Templates: time 0.01038/0.4929, allocations: 4.835 MB / 1.091 GB, free: 5.219 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches