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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001091/0.001091, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001388/0.001388, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.026/3.026, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003404, allocations: 13.47 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3545, allocations: 159.6 MB / 1.058 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001523/0.3561, allocations: 1.091 MB / 1.059 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003739/0.3598, allocations: 2.744 MB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.3599, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.36, allocations: 7.938 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.3602, allocations: 39.8 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.3607, allocations: 155.4 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.361, allocations: 275.3 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.198e-05/0.3611, allocations: 4 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3612, allocations: 91.86 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3614, allocations: 143.7 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.3615, allocations: 12 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004401/0.3619, allocations: 151.8 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.362, allocations: 91.83 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.3621, allocations: 49.64 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.3624, allocations: 195.9 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3624, allocations: 0 / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3624, allocations: 3.938 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.3624, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 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.0008878/0.3633, allocations: 0.5183 MB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3634, allocations: 12.03 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.3635, allocations: 15.81 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.3638, allocations: 238.8 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.3638, allocations: 23.98 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.3639, allocations: 12 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.3645, allocations: 321.1 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3646, allocations: 0 / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3646, allocations: 4 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3646, allocations: 4 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.3661, allocations: 0.8038 MB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.3667, allocations: 313 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.3684, allocations: 0.7814 MB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.3689, allocations: 256.7 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/0.3693, allocations: 396.3 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.3694, allocations: 38.5 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 3.737e-06/0.3694, allocations: 0 / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001647/0.3711, allocations: 0.7417 MB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3711, allocations: 55.41 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3712, allocations: 122.1 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3713, allocations: 33.7 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.3713, allocations: 88.8 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3714, allocations: 126.2 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.3715, allocations: 11.94 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3716, allocations: 330.8 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.372, allocations: 219.8 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.3725, allocations: 240.5 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.373, allocations: 195.8 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.373, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001046/0.374, allocations: 0.5131 MB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3741, allocations: 4 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3741, allocations: 0 / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3741, allocations: 0 / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.3745, allocations: 115.8 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3745, allocations: 0 / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.3747, allocations: 67.75 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3747, allocations: 11.98 kB / 1.069 GB, free: 9.449 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.3749, allocations: 145.8 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.3749, allocations: 19.77 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.3761, allocations: 0.5802 MB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3762, allocations: 4 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.3762, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3762, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.3765, allocations: 309.3 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3765, allocations: 0 / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.3769, allocations: 115.9 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3769, allocations: 3.953 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.3769, allocations: 15.98 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.377, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.377, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3781, allocations: 0.543 MB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.3781, allocations: 96.8 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.3782, allocations: 15.95 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.3784, allocations: 51.89 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.3786, allocations: 119.8 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.3786, allocations: 15.98 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.242e-05/0.3787, allocations: 100.8 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3787, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000383/0.3791, allocations: 111.9 kB / 1.071 GB, free: 7.121 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003583/0.3795, allocations: 195 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.3806, allocations: 0.5153 MB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.3806, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.3811, allocations: 291.7 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3816, allocations: 71.88 kB / 1.073 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.3823, allocations: 0.5017 MB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3826, allocations: 0.7292 MB / 1.074 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004309/0.383, allocations: 180.2 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.3832, allocations: 47.34 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3832, allocations: 0 / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of Templates: time 0.009872/0.393, allocations: 4.694 MB / 1.079 GB, free: 15.91 MB / 0.8419 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