Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.009781/0.009781, allocations: 101.7 kB / 15.73 MB, free: 6.051 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.00212/0.00212, allocations: 190.6 kB / 16.67 MB, free: 5.98 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 461.8 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 68.08 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3417, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002589/0.3443, allocations: 1.375 MB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003922/0.3483, allocations: 2.921 MB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.3484, allocations: 0 / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.292e-05/0.3485, allocations: 8 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.3486, allocations: 39.8 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.3493, allocations: 183.1 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.3496, allocations: 243.5 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.3497, allocations: 11.98 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.3498, allocations: 95.8 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.35, allocations: 119.7 kB / 1.213 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.35, allocations: 12 kB / 1.213 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.3505, allocations: 139.9 kB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.3506, allocations: 83.81 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.3508, allocations: 99.56 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.3512, allocations: 263.3 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3512, allocations: 0 / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3512, allocations: 0 / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.3512, allocations: 4 kB / 1.213 GB, free: 4.039 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.0009195/0.3522, allocations: 0.53 MB / 1.214 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3522, allocations: 12.62 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.3524, allocations: 16.75 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.3527, allocations: 240 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.3527, allocations: 32.36 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.3528, allocations: 20.36 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.3535, allocations: 285.3 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3535, allocations: 4 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.3535, allocations: 7.984 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3536, allocations: 11.94 kB / 1.214 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.3551, allocations: 0.7466 MB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.3555, allocations: 309 kB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.3572, allocations: 0.6716 MB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.3577, allocations: 232.7 kB / 1.216 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/0.3581, allocations: 384.4 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3582, allocations: 38.48 kB / 1.217 GB, free: 300 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.3582, allocations: 4 kB / 1.217 GB, free: 296 kB / 0.9669 GB Notification: Performance of matching and sorting (n=37): time 0.001707/0.3599, allocations: 0.6534 MB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.36, allocations: 55.41 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3601, allocations: 137.5 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.3601, allocations: 33.7 kB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.3602, allocations: 88.8 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.3604, allocations: 134.1 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3605, allocations: 61.69 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3606, allocations: 334.8 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.3611, allocations: 187.8 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.3616, allocations: 199.8 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009203/0.3626, allocations: 361.9 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3626, allocations: 0 / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001098/0.3637, allocations: 472.5 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3637, allocations: 8 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3637, allocations: 0 / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3638, allocations: 0 / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.3641, allocations: 99.84 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3641, allocations: 4 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3643, allocations: 39.81 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.3644, allocations: 15.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.0001412/0.3645, allocations: 145.8 kB / 1.219 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.3646, allocations: 19.75 kB / 1.22 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.3658, allocations: 0.5141 MB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3658, allocations: 8 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.3658, allocations: 0 / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3658, allocations: 3.984 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.3662, allocations: 317.3 kB / 1.22 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3662, allocations: 0 / 1.22 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.3665, allocations: 99.78 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3666, allocations: 0 / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3666, allocations: 11.98 kB / 1.22 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3666, allocations: 4 kB / 1.22 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3666, allocations: 7.938 kB / 1.22 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.3677, allocations: 0.4922 MB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.3678, allocations: 100.8 kB / 1.221 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.3678, allocations: 4 kB / 1.221 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.368, allocations: 39.95 kB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/0.3683, allocations: 115.8 kB / 1.221 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.3683, allocations: 23.92 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.682e-05/0.3684, allocations: 95.27 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3684, allocations: 0 / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003807/0.3688, allocations: 119.9 kB / 1.221 GB, free: 11.19 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.0003384/0.3691, allocations: 187.1 kB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.3702, allocations: 471.6 kB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3702, allocations: 0 / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000547/0.3708, allocations: 263.7 kB / 1.222 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3712, allocations: 69.19 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.372, allocations: 438.8 kB / 1.223 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3722, allocations: 0.7289 MB / 1.223 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000393/0.3726, allocations: 183.6 kB / 1.224 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.3728, allocations: 39.41 kB / 1.224 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3728, allocations: 0 / 1.224 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of Templates: time 0.009012/0.3818, allocations: 5.308 MB / 1.229 GB, free: 3.551 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches