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.008726/0.008735, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001778/0.001779, allocations: 193.1 kB / 16.67 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 62.25 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3582, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003084/0.3614, allocations: 1.379 MB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004597/0.366, allocations: 2.907 MB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.3661, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.3662, allocations: 7.922 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.3664, allocations: 43.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.3673, allocations: 175.2 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.3676, allocations: 247.5 kB / 1.093 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.3677, allocations: 7.984 kB / 1.093 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3679, allocations: 103.8 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3681, allocations: 119.8 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.3681, allocations: 11.94 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.3686, allocations: 135.9 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3687, allocations: 87.75 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3689, allocations: 95.58 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.3694, allocations: 271.3 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3694, allocations: 3.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3694, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.3694, allocations: 0 / 1.093 GB, free: 11.95 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.001031/0.3704, allocations: 0.5339 MB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3705, allocations: 8.031 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3707, allocations: 16.75 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.3709, allocations: 236 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.371, allocations: 28.36 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.371, allocations: 20.38 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.3717, allocations: 289 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3717, allocations: 0 / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.3718, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3718, allocations: 4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.3733, allocations: 0.753 MB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.3737, allocations: 305.3 kB / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.3754, allocations: 0.6757 MB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.376, allocations: 233.3 kB / 1.096 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/0.3765, allocations: 384.1 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3765, allocations: 42.5 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.3765, allocations: 3.938 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001718/0.3782, allocations: 0.6538 MB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3783, allocations: 59.16 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3784, allocations: 128.4 kB / 1.098 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.3785, allocations: 37.7 kB / 1.098 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.3785, allocations: 84.8 kB / 1.098 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.3787, allocations: 126.2 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.3788, allocations: 69.69 kB / 1.098 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.379, allocations: 330.8 kB / 1.098 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.3795, allocations: 191.8 kB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.38, allocations: 199.9 kB / 1.099 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/0.3809, allocations: 364.3 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3809, allocations: 0 / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001088/0.382, allocations: 473.1 kB / 1.099 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.382, allocations: 5.562 kB / 1.099 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.382, allocations: 0 / 1.099 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3821, allocations: 3.938 kB / 1.099 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.3824, allocations: 99.86 kB / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3824, allocations: 0 / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.3826, allocations: 47.7 kB / 1.1 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3827, allocations: 19.98 kB / 1.1 GB, free: 5.301 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.000145/0.3828, allocations: 137.8 kB / 1.1 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.3829, allocations: 19.75 kB / 1.1 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.3841, allocations: 0.5139 MB / 1.1 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.3841, allocations: 4 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3841, allocations: 4 kB / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.3841, allocations: 4 kB / 1.1 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.3845, allocations: 321.2 kB / 1.101 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3845, allocations: 0 / 1.101 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.3848, allocations: 99.78 kB / 1.101 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3849, allocations: 4 kB / 1.101 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.3849, allocations: 11.98 kB / 1.101 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3849, allocations: 0 / 1.101 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3849, allocations: 4 kB / 1.101 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3861, allocations: 0.5004 MB / 1.101 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.3862, allocations: 96.8 kB / 1.101 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.3862, allocations: 11.94 kB / 1.101 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.3864, allocations: 35.95 kB / 1.101 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.3866, allocations: 111.8 kB / 1.101 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3867, allocations: 19.98 kB / 1.101 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.3868, allocations: 102.3 kB / 1.101 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3868, allocations: 0 / 1.101 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004341/0.3872, allocations: 119.9 kB / 1.102 GB, free: 3.102 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.0003798/0.3876, allocations: 183.1 kB / 1.102 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.3887, allocations: 467.3 kB / 1.102 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3887, allocations: 4 kB / 1.102 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.3893, allocations: 260.6 kB / 1.102 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3898, allocations: 71.92 kB / 1.103 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008127/0.3906, allocations: 430.9 kB / 1.103 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3909, allocations: 0.7366 MB / 1.104 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004003/0.3913, allocations: 184.1 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3914, allocations: 35.42 kB / 1.104 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.3915, allocations: 0 / 1.104 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of Templates: time 0.01005/0.4015, allocations: 5.381 MB / 1.109 GB, free: 11.39 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