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.001346/0.001346, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.00129/0.00129, allocations: 187 kB / 17.34 MB, free: 5.719 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.252/2.252, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 55.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7636, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002354/0.766, allocations: 1.394 MB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.7691, allocations: 2.902 MB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.7691, allocations: 0 / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.557e-05/0.7692, allocations: 12.23 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.7694, allocations: 45.59 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.77, allocations: 187.6 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.7703, allocations: 239.3 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.7703, allocations: 4.359 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.7704, allocations: 91.23 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.7706, allocations: 126.6 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.7706, allocations: 11.41 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.771, allocations: 135.3 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.7712, allocations: 87.62 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.7713, allocations: 88.58 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.7717, allocations: 278.3 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7717, allocations: 4 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7717, allocations: 0 / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7717, allocations: 0.7812 kB / 1.094 GB, free: 1.961 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.0008322/0.7725, allocations: 0.5238 MB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7726, allocations: 9.594 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.7727, allocations: 22.58 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.7729, allocations: 240.8 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/0.773, allocations: 23.8 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.7731, allocations: 13.81 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.7738, allocations: 296.3 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7738, allocations: 4 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.7738, allocations: 5.812 kB / 1.095 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7739, allocations: 7.344 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.7756, allocations: 0.747 MB / 1.096 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.7759, allocations: 301.2 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.7777, allocations: 0.6803 MB / 1.097 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005434/0.7783, allocations: 231 kB / 1.097 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003477/0.7786, allocations: 395.5 kB / 1.097 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.7787, allocations: 44.95 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.7787, allocations: 0 / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of matching and sorting (n=37): time 0.001716/0.7804, allocations: 0.6424 MB / 1.098 GB, free: 92 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.7804, allocations: 59.39 kB / 1.098 GB, free: 24 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.7806, allocations: 124.4 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.7806, allocations: 34.86 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.7807, allocations: 92.72 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.7808, allocations: 124.3 kB / 1.099 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.7809, allocations: 66.44 kB / 1.099 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7811, allocations: 325.2 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.7816, allocations: 202.8 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.7821, allocations: 196.3 kB / 1.099 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009734/0.7831, allocations: 361.2 kB / 1.1 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7831, allocations: 1 kB / 1.1 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001181/0.7843, allocations: 463.2 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.7843, allocations: 5.375 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7843, allocations: 1.156 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.7843, allocations: 5.062 kB / 1.1 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.7847, allocations: 98.25 kB / 1.1 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.7848, allocations: 1.781 kB / 1.1 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.785, allocations: 53.44 kB / 1.1 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.785, allocations: 14.92 kB / 1.1 GB, free: 15.07 MB / 0.8731 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.0001451/0.7852, allocations: 142.5 kB / 1.1 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.7852, allocations: 20 kB / 1.1 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.7866, allocations: 0.5162 MB / 1.101 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.7867, allocations: 3.562 kB / 1.101 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7867, allocations: 0.625 kB / 1.101 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.7867, allocations: 2.703 kB / 1.101 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.7871, allocations: 313.7 kB / 1.101 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7871, allocations: 0 / 1.101 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.7875, allocations: 110.7 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.7875, allocations: 5.703 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.7876, allocations: 11.36 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.7876, allocations: 1.469 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7876, allocations: 0.5625 kB / 1.101 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.7887, allocations: 0.4903 MB / 1.102 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.7888, allocations: 102.6 kB / 1.102 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.7888, allocations: 6.812 kB / 1.102 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.789, allocations: 42.52 kB / 1.102 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.7893, allocations: 120.5 kB / 1.102 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.7893, allocations: 11.95 kB / 1.102 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.7894, allocations: 104.6 kB / 1.102 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7894, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004604/0.7899, allocations: 118.7 kB / 1.102 GB, free: 14.11 MB / 0.8731 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.0003605/0.7903, allocations: 185.8 kB / 1.102 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.7914, allocations: 472.4 kB / 1.103 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7915, allocations: 0 / 1.103 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005845/0.792, allocations: 256.2 kB / 1.103 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.7925, allocations: 79.2 kB / 1.103 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008166/0.7933, allocations: 461.6 kB / 1.104 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.7936, allocations: 0.7298 MB / 1.104 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.7938, allocations: 45.72 kB / 1.104 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/0.7938, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.009933/0.8037, allocations: 4.755 MB / 1.109 GB, free: 12.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches