Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PropyleneGlycolWater,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_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007173/0.007173, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001679/0.00168, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.14 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3501, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002526/0.3526, allocations: 1.381 MB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003837/0.3565, allocations: 2.925 MB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.3566, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.529e-05/0.3567, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.3569, allocations: 43.8 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007085/0.3576, allocations: 191.1 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.3579, allocations: 243.5 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.3579, allocations: 4 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.3581, allocations: 91.8 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.3582, allocations: 127.7 kB / 1.213 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.3583, allocations: 15.94 kB / 1.213 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.3587, allocations: 135.9 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.3588, allocations: 83.83 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3589, allocations: 95.56 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.3593, allocations: 267.3 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3593, allocations: 0 / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3593, allocations: 0 / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.3593, allocations: 0 / 1.213 GB, free: 4.066 MB / 0.9669 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.0009087/0.3603, allocations: 0.5339 MB / 1.214 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3603, allocations: 8.625 kB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3604, allocations: 16.75 kB / 1.214 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3607, allocations: 248 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.3608, allocations: 28.36 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.3609, allocations: 12.38 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.3615, allocations: 289.2 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3615, allocations: 0 / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.3616, allocations: 8 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3616, allocations: 4 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.3631, allocations: 0.7505 MB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.3635, allocations: 313 kB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.3651, allocations: 0.6676 MB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/0.3657, allocations: 232.7 kB / 1.216 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/0.3661, allocations: 388.3 kB / 1.217 GB, free: 380 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.3662, allocations: 46.48 kB / 1.217 GB, free: 324 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 2.775e-06/0.3662, allocations: 4 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001745/0.3679, allocations: 0.6534 MB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.368, allocations: 51.41 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3681, allocations: 133.1 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3681, allocations: 33.7 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.3682, allocations: 88.73 kB / 1.218 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.3683, allocations: 134.1 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.836e-05/0.3684, allocations: 61.69 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3686, allocations: 330.8 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.3691, allocations: 187.8 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.3696, allocations: 203.8 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009114/0.3705, allocations: 365.9 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3706, allocations: 0 / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001069/0.3716, allocations: 472.5 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3717, allocations: 4 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3717, allocations: 0 / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3717, allocations: 7.938 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.3721, allocations: 103.8 kB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3721, allocations: 0 / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.3723, allocations: 43.81 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.3723, allocations: 11.98 kB / 1.219 GB, free: 13.41 MB / 0.9825 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.0001264/0.3724, allocations: 141.8 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.3725, allocations: 19.75 kB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.3737, allocations: 0.5142 MB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3738, allocations: 8 kB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3738, allocations: 0 / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3738, allocations: 0 / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.3741, allocations: 313.3 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3741, allocations: 0 / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.3745, allocations: 107.8 kB / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3745, allocations: 0 / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.3745, allocations: 11.98 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3745, allocations: 0 / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3745, allocations: 7.938 kB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3757, allocations: 0.4883 MB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.3757, allocations: 96.8 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.3758, allocations: 8 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.376, allocations: 35.95 kB / 1.221 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.3762, allocations: 119.8 kB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.3762, allocations: 15.98 kB / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.548e-05/0.3763, allocations: 99.27 kB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3763, allocations: 3.938 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003811/0.3767, allocations: 115.9 kB / 1.221 GB, free: 11.23 MB / 0.9825 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.0003568/0.377, allocations: 187.1 kB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.3782, allocations: 471.6 kB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3782, allocations: 0 / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.3787, allocations: 259.7 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.3792, allocations: 77.66 kB / 1.222 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.3799, allocations: 434.8 kB / 1.223 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.3802, allocations: 0.7366 MB / 1.223 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004048/0.3806, allocations: 188.9 kB / 1.224 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.3808, allocations: 43.41 kB / 1.224 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.3808, allocations: 0 / 1.224 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.009608/0.3904, allocations: 5.372 MB / 1.229 GB, free: 3.508 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches