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.006174/0.006175, allocations: 108.2 kB / 15.74 MB, free: 6.441 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.001263/0.001263, allocations: 191.3 kB / 16.67 MB, free: 6.355 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.871/2.871, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.83 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3449, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002552/0.3475, allocations: 1.379 MB / 1.209 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00382/0.3513, allocations: 2.921 MB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.3514, allocations: 0 / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.3515, allocations: 7.922 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.3517, allocations: 39.81 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.3524, allocations: 191.1 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.3527, allocations: 243.5 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.3528, allocations: 7.984 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3529, allocations: 87.84 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.3531, allocations: 127.7 kB / 1.213 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.3531, allocations: 12 kB / 1.213 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.3536, allocations: 135.9 kB / 1.213 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3537, allocations: 83.81 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3538, allocations: 95.58 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.3543, allocations: 271.3 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3543, allocations: 0 / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3543, allocations: 0 / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3543, allocations: 0 / 1.213 GB, free: 4.055 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.0009125/0.3552, allocations: 0.53 MB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3553, allocations: 8.625 kB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.3555, allocations: 20.73 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3557, allocations: 240 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.3558, allocations: 24.36 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.3558, allocations: 12.38 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.3565, allocations: 297.2 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3565, allocations: 0 / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3566, allocations: 8 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3566, allocations: 4 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.358, allocations: 0.7506 MB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.3584, allocations: 309 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.36, allocations: 0.6793 MB / 1.216 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.3605, allocations: 228.7 kB / 1.216 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004205/0.3609, allocations: 392.3 kB / 1.217 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.361, allocations: 42.44 kB / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.361, allocations: 0 / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001627/0.3626, allocations: 0.6534 MB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3627, allocations: 59.41 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.3628, allocations: 124 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.3629, allocations: 37.64 kB / 1.217 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3629, allocations: 92.78 kB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3631, allocations: 126.1 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3632, allocations: 69.67 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3633, allocations: 322.8 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.3638, allocations: 199.8 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.3642, allocations: 195.8 kB / 1.218 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/0.3651, allocations: 369.8 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3651, allocations: 4 kB / 1.219 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001014/0.3662, allocations: 460.6 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3662, allocations: 9.719 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3662, allocations: 7.969 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3662, allocations: 4 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.3666, allocations: 95.86 kB / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3666, allocations: 0 / 1.219 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.3668, allocations: 47.8 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.3668, allocations: 19.98 kB / 1.219 GB, free: 13.39 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.0001203/0.3669, allocations: 133.8 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.367, allocations: 19.75 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.3682, allocations: 0.518 MB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3682, allocations: 4 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3682, allocations: 0 / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3682, allocations: 3.984 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.3686, allocations: 313.3 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3686, allocations: 4 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.369, allocations: 103.8 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.369, allocations: 3.984 kB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.369, allocations: 8 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.369, allocations: 0 / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.369, allocations: 0 / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.3701, allocations: 0.4883 MB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.3702, allocations: 96.8 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.3702, allocations: 15.98 kB / 1.221 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.3704, allocations: 35.97 kB / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.3706, allocations: 123.7 kB / 1.221 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.3706, allocations: 12 kB / 1.221 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.325e-05/0.3707, allocations: 106.1 kB / 1.221 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3707, allocations: 0 / 1.221 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003727/0.3711, allocations: 111.9 kB / 1.221 GB, free: 11.22 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.00035/0.3714, allocations: 187.1 kB / 1.222 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.3725, allocations: 479.6 kB / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3725, allocations: 0 / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.3731, allocations: 255.7 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3735, allocations: 83.86 kB / 1.222 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.3743, allocations: 430.8 kB / 1.223 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3746, allocations: 0.7328 MB / 1.223 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003994/0.375, allocations: 186.5 kB / 1.224 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.3751, allocations: 35.42 kB / 1.224 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3751, allocations: 4 kB / 1.224 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of Templates: time 0.01091/0.386, allocations: 5.308 MB / 1.229 GB, free: 3.562 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