Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.339/2.339, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 184.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.3 MB / 0.7915 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 87.89 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.615e-05/3.617e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3667, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.428/1.794, allocations: 419.2 MB / 1.628 GB, free: 15.2 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.795, allocations: 63.97 kB / 1.628 GB, free: 15.13 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 0.04451/1.839, allocations: 19.04 MB / 1.647 GB, free: 11.96 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.033e-06/1.839, allocations: 4 kB / 1.647 GB, free: 11.96 MB / 1.104 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.839, allocations: 4 kB / 1.647 GB, free: 11.96 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003994/1.84, allocations: 358.4 kB / 1.647 GB, free: 11.56 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.84, allocations: 8.031 kB / 1.647 GB, free: 11.55 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/1.84, allocations: 12.56 kB / 1.647 GB, free: 11.54 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/1.84, allocations: 166.9 kB / 1.647 GB, free: 11.34 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/1.84, allocations: 0 / 1.647 GB, free: 11.34 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/1.84, allocations: 12 kB / 1.647 GB, free: 11.33 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/1.84, allocations: 45.69 kB / 1.647 GB, free: 11.28 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.84, allocations: 7.938 kB / 1.647 GB, free: 11.27 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.84, allocations: 4 kB / 1.647 GB, free: 11.27 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.84, allocations: 0 / 1.647 GB, free: 11.27 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/1.84, allocations: 23.97 kB / 1.647 GB, free: 11.24 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/1.841, allocations: 177.6 kB / 1.648 GB, free: 11.02 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 9.063e-05/1.841, allocations: 46.56 kB / 1.648 GB, free: 10.96 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/1.841, allocations: 16.86 kB / 1.648 GB, free: 10.95 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007484/1.841, allocations: 0.6219 MB / 1.648 GB, free: 10.21 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.841, allocations: 30.56 kB / 1.648 GB, free: 10.18 MB / 1.104 GB Notification: Performance of pre-optimization done (n=5): time 2.294e-06/1.841, allocations: 0 / 1.648 GB, free: 10.18 MB / 1.104 GB Notification: Performance of matching and sorting (n=7): time 0.0005646/1.842, allocations: 302.5 kB / 1.649 GB, free: 9.828 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/1.842, allocations: 55.41 kB / 1.649 GB, free: 9.762 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.458e-05/1.842, allocations: 89 kB / 1.649 GB, free: 9.668 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/1.842, allocations: 29.7 kB / 1.649 GB, free: 9.633 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/1.842, allocations: 84.05 kB / 1.649 GB, free: 9.547 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/1.842, allocations: 27.64 kB / 1.649 GB, free: 9.52 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/1.842, allocations: 4 kB / 1.649 GB, free: 9.516 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.842, allocations: 314.9 kB / 1.649 GB, free: 9.199 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/1.842, allocations: 12 kB / 1.649 GB, free: 9.188 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/1.842, allocations: 57.14 kB / 1.649 GB, free: 9.113 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/1.843, allocations: 23.92 kB / 1.649 GB, free: 9.09 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/1.843, allocations: 0 / 1.649 GB, free: 9.09 MB / 1.104 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000129/1.843, allocations: 97.45 kB / 1.649 GB, free: 8.988 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.843, allocations: 9.25 kB / 1.649 GB, free: 8.98 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.843, allocations: 3.953 kB / 1.649 GB, free: 8.977 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.843, allocations: 4 kB / 1.649 GB, free: 8.973 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/1.843, allocations: 16 kB / 1.649 GB, free: 8.957 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.843, allocations: 3.938 kB / 1.649 GB, free: 8.953 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/1.843, allocations: 8 kB / 1.649 GB, free: 8.945 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/1.843, allocations: 7.984 kB / 1.649 GB, free: 8.938 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.312e-05/1.843, allocations: 109.1 kB / 1.649 GB, free: 8.824 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/1.843, allocations: 4 kB / 1.649 GB, free: 8.82 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/1.843, allocations: 8.094 kB / 1.65 GB, free: 8.812 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.843, allocations: 3.953 kB / 1.65 GB, free: 8.809 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.843, allocations: 4 kB / 1.65 GB, free: 8.805 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.843, allocations: 0 / 1.65 GB, free: 8.805 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/1.843, allocations: 169.7 kB / 1.65 GB, free: 8.59 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.843, allocations: 3.938 kB / 1.65 GB, free: 8.586 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/1.843, allocations: 16.23 kB / 1.65 GB, free: 8.57 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/1.843, allocations: 0 / 1.65 GB, free: 8.57 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/1.843, allocations: 15.94 kB / 1.65 GB, free: 8.555 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.843, allocations: 4 kB / 1.65 GB, free: 8.551 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.843, allocations: 7.891 kB / 1.65 GB, free: 8.543 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/1.844, allocations: 163.7 kB / 1.65 GB, free: 8.367 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/1.844, allocations: 85.23 kB / 1.65 GB, free: 8.266 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.844, allocations: 4 kB / 1.65 GB, free: 8.262 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/1.844, allocations: 7.984 kB / 1.65 GB, free: 8.254 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/1.844, allocations: 7.938 kB / 1.65 GB, free: 8.246 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/1.844, allocations: 8 kB / 1.65 GB, free: 8.238 MB / 1.104 GB Notification: Performance of sorting global known variables: time 3.845e-05/1.844, allocations: 83.28 kB / 1.65 GB, free: 8.156 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.4e-07/1.844, allocations: 0 / 1.65 GB, free: 8.156 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0002289/1.844, allocations: 20 kB / 1.65 GB, free: 8.137 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0002187/1.844, allocations: 135.8 kB / 1.65 GB, free: 7.996 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0001139/1.844, allocations: 43.94 kB / 1.65 GB, free: 7.953 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.844, allocations: 0 / 1.65 GB, free: 7.953 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/1.845, allocations: 19.98 kB / 1.65 GB, free: 7.934 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/1.845, allocations: 4.219 kB / 1.65 GB, free: 7.93 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/1.845, allocations: 289.4 kB / 1.651 GB, free: 7.625 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/1.845, allocations: 0.6859 MB / 1.651 GB, free: 6.914 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 6.291e-05/1.846, allocations: 19.75 kB / 1.651 GB, free: 6.895 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/1.846, allocations: 11.44 kB / 1.651 GB, free: 6.883 MB / 1.104 GB Notification: Performance of SimCode: time 2.3e-07/1.846, allocations: 0 / 1.651 GB, free: 6.883 MB / 1.104 GB Notification: Performance of Templates: time 0.003527/1.849, allocations: 1.293 MB / 1.653 GB, free: 5.59 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches