Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 191.5 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 103.9 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.831e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.744/2.007, allocations: 401 MB / 1.277 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/2.007, allocations: 67.33 kB / 1.277 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04606/2.053, allocations: 18.62 MB / 1.295 GB, free: 262.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.254e-06/2.053, allocations: 0 / 1.295 GB, free: 262.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.119e-05/2.053, allocations: 1.219 kB / 1.295 GB, free: 262.8 MB / 0.8698 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.000458/2.054, allocations: 355.7 kB / 1.295 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/2.054, allocations: 13.78 kB / 1.295 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/2.054, allocations: 2.281 kB / 1.295 GB, free: 262.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/2.054, allocations: 175.7 kB / 1.296 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/2.054, allocations: 1.156 kB / 1.296 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/2.054, allocations: 10.56 kB / 1.296 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001063/2.054, allocations: 14.77 kB / 1.296 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.547e-05/2.054, allocations: 42.75 kB / 1.296 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/2.054, allocations: 5.094 kB / 1.296 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/2.054, allocations: 0 / 1.296 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/2.054, allocations: 1.188 kB / 1.296 GB, free: 262.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/2.055, allocations: 146.1 kB / 1.296 GB, free: 262 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/2.055, allocations: 49.25 kB / 1.296 GB, free: 262 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/2.055, allocations: 16.14 kB / 1.296 GB, free: 262 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007413/2.056, allocations: 0.6142 MB / 1.296 GB, free: 261.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/2.056, allocations: 35.22 kB / 1.297 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/2.056, allocations: 5.219 kB / 1.297 GB, free: 261.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0005904/2.056, allocations: 278 kB / 1.297 GB, free: 261 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/2.056, allocations: 56.55 kB / 1.297 GB, free: 261 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/2.056, allocations: 95.89 kB / 1.297 GB, free: 260.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/2.056, allocations: 25.7 kB / 1.297 GB, free: 260.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/2.056, allocations: 85.52 kB / 1.297 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/2.056, allocations: 30.7 kB / 1.297 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/2.056, allocations: 0 / 1.297 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.352e-05/2.056, allocations: 315.5 kB / 1.297 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/2.057, allocations: 14.09 kB / 1.297 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/2.057, allocations: 50.08 kB / 1.297 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/2.057, allocations: 13.22 kB / 1.297 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/2.057, allocations: 1.031 kB / 1.297 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001326/2.057, allocations: 85.36 kB / 1.298 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/2.057, allocations: 4.562 kB / 1.298 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/2.057, allocations: 4.922 kB / 1.298 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/2.057, allocations: 2.594 kB / 1.298 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.28e-05/2.057, allocations: 20.53 kB / 1.298 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/2.057, allocations: 2.625 kB / 1.298 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/2.057, allocations: 9.391 kB / 1.298 GB, free: 260.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/2.057, allocations: 4.062 kB / 1.298 GB, free: 260.3 MB / 0.8698 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.703e-05/2.057, allocations: 112 kB / 1.298 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/2.057, allocations: 2.969 kB / 1.298 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/2.057, allocations: 7.719 kB / 1.298 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/2.057, allocations: 1.281 kB / 1.298 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/2.057, allocations: 1.031 kB / 1.298 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/2.057, allocations: 0 / 1.298 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/2.057, allocations: 159.6 kB / 1.298 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/2.057, allocations: 0 / 1.298 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/2.058, allocations: 20.77 kB / 1.298 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/2.058, allocations: 1.031 kB / 1.298 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/2.058, allocations: 5.312 kB / 1.298 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/2.058, allocations: 0 / 1.298 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.058, allocations: 3.938 kB / 1.298 GB, free: 260 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/2.058, allocations: 168.3 kB / 1.298 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/2.058, allocations: 84.09 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/2.058, allocations: 4 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/2.058, allocations: 2.125 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/2.058, allocations: 6.203 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/2.058, allocations: 4.719 kB / 1.298 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.207e-05/2.058, allocations: 78.25 kB / 1.298 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/2.058, allocations: 0 / 1.298 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002599/2.058, allocations: 11.78 kB / 1.298 GB, free: 259.7 MB / 0.8698 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.0002445/2.059, allocations: 153.4 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001148/2.059, allocations: 38.11 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.059, allocations: 0.8438 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/2.059, allocations: 14.03 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/2.059, allocations: 7.203 kB / 1.298 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/2.059, allocations: 271.8 kB / 1.299 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/2.06, allocations: 0.691 MB / 1.299 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.257e-05/2.06, allocations: 3.594 kB / 1.299 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/2.06, allocations: 12.31 kB / 1.299 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/2.06, allocations: 0 / 1.299 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.00318/2.063, allocations: 0.8634 MB / 1.3 GB, free: 258.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches