Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008496/0.008496, allocations: 96.56 kB / 15.73 MB, free: 6.031 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.001827/0.001827, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.431/1.431, 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 9.1.3-maint.9.1.x/package.mo): time 2.479/2.479, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 62.47 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3396, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002482/0.3422, allocations: 1.375 MB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003549/0.3457, allocations: 2.907 MB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.3458, allocations: 4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.021e-05/0.3459, allocations: 11.86 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.346, allocations: 35.81 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.3465, allocations: 187.1 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.3468, allocations: 235.5 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.3469, allocations: 4 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.347, allocations: 107.8 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.3471, allocations: 119.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.3472, allocations: 8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.3475, allocations: 139.9 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3477, allocations: 91.75 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3478, allocations: 91.58 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.3482, allocations: 275 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3483, allocations: 4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3483, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.3483, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 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.0009039/0.3492, allocations: 0.5258 MB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3492, allocations: 12.03 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.3494, allocations: 20.83 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3497, allocations: 236.1 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.3497, allocations: 28.36 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.3498, allocations: 16.38 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006707/0.3504, allocations: 297 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3505, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.3505, allocations: 4 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3505, allocations: 7.938 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.352, allocations: 0.7452 MB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.3523, allocations: 321.3 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.3541, allocations: 0.6718 MB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.3546, allocations: 233.3 kB / 1.096 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004249/0.355, allocations: 388.1 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.3551, allocations: 38.5 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.3551, allocations: 0 / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001653/0.3567, allocations: 0.6539 MB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3568, allocations: 59.16 kB / 1.097 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.3569, allocations: 125.1 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.357, allocations: 33.64 kB / 1.098 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.357, allocations: 92.78 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3571, allocations: 130.9 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.3572, allocations: 73.67 kB / 1.098 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3574, allocations: 326.8 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.3578, allocations: 195.8 kB / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.3583, allocations: 203.9 kB / 1.099 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009176/0.3593, allocations: 360.3 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3593, allocations: 0 / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001094/0.3604, allocations: 465.2 kB / 1.099 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3604, allocations: 11.98 kB / 1.099 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3604, allocations: 0 / 1.099 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3604, allocations: 0 / 1.099 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.3608, allocations: 95.86 kB / 1.099 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3608, allocations: 4 kB / 1.1 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.361, allocations: 47.84 kB / 1.1 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.3611, allocations: 15.98 kB / 1.1 GB, free: 5.262 MB / 0.8575 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.000134/0.3612, allocations: 141.8 kB / 1.1 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.3613, allocations: 23.8 kB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.3625, allocations: 0.51 MB / 1.1 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3626, allocations: 4 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3626, allocations: 4 kB / 1.1 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3626, allocations: 3.984 kB / 1.1 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.3629, allocations: 313.3 kB / 1.101 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3629, allocations: 0 / 1.101 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.3633, allocations: 107.7 kB / 1.101 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3633, allocations: 4 kB / 1.101 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.3633, allocations: 12 kB / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.3633, allocations: 0 / 1.101 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3633, allocations: 4 kB / 1.101 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3645, allocations: 0.5004 MB / 1.101 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.3645, allocations: 96.89 kB / 1.101 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/0.3646, allocations: 7.984 kB / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.3648, allocations: 31.97 kB / 1.101 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/0.3651, allocations: 119.8 kB / 1.101 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.3651, allocations: 12 kB / 1.101 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.3652, allocations: 107.2 kB / 1.101 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3652, allocations: 0 / 1.101 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003893/0.3656, allocations: 115.8 kB / 1.102 GB, free: 3.062 MB / 0.8575 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.0003433/0.3659, allocations: 182.9 kB / 1.102 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.367, allocations: 471.3 kB / 1.102 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3671, allocations: 4 kB / 1.102 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.3676, allocations: 264.5 kB / 1.102 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.368, allocations: 77.33 kB / 1.103 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007177/0.3687, allocations: 438.6 kB / 1.103 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3691, allocations: 0.7328 MB / 1.104 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003904/0.3695, allocations: 187.9 kB / 1.104 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.3696, allocations: 35.42 kB / 1.104 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of SimCode: time 1.663e-06/0.3696, allocations: 0 / 1.104 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of Templates: time 0.009879/0.3794, allocations: 5.315 MB / 1.109 GB, free: 11.41 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches