Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.328/2.328, allocations: 390.5 MB / 398 MB, free: 10.95 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.001267/0.001267, allocations: 184.3 kB / 491.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.745/1.745, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001198/0.001198, allocations: 95.89 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.608e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3812, allocations: 143 MB / 1.212 GB, free: 39.58 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.399/1.78, allocations: 438.5 MB / 1.641 GB, free: 9.688 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.78, allocations: 79.88 kB / 1.641 GB, free: 9.645 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 0.05981/1.84, allocations: 25.77 MB / 1.666 GB, free: 4.602 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.953e-06/1.84, allocations: 0 / 1.666 GB, free: 4.602 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.491e-05/1.84, allocations: 0 / 1.666 GB, free: 4.602 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009513/1.841, allocations: 499 kB / 1.666 GB, free: 4.082 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.841, allocations: 8.031 kB / 1.666 GB, free: 4.074 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/1.841, allocations: 23.77 kB / 1.666 GB, free: 4.051 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/1.842, allocations: 216.2 kB / 1.667 GB, free: 3.809 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/1.842, allocations: 8 kB / 1.667 GB, free: 3.801 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.842, allocations: 8 kB / 1.667 GB, free: 3.793 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005623/1.842, allocations: 410.9 kB / 1.667 GB, free: 3.461 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/1.843, allocations: 215.2 kB / 1.667 GB, free: 3.277 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.843, allocations: 4 kB / 1.667 GB, free: 3.273 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/1.843, allocations: 4 kB / 1.667 GB, free: 3.27 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/1.843, allocations: 7.984 kB / 1.667 GB, free: 3.262 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/1.844, allocations: 0.9958 MB / 1.668 GB, free: 2.266 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/1.844, allocations: 136.2 kB / 1.668 GB, free: 2.145 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/1.845, allocations: 56.8 kB / 1.668 GB, free: 2.098 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/1.846, allocations: 1.94 MB / 1.67 GB, free: 15.84 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/1.846, allocations: 41.52 kB / 1.67 GB, free: 15.79 MB / 1.089 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/1.846, allocations: 0 / 1.67 GB, free: 15.79 MB / 1.089 GB Notification: Performance of matching and sorting (n=15): time 0.0005501/1.847, allocations: 119.7 kB / 1.67 GB, free: 15.68 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/1.847, allocations: 63.34 kB / 1.67 GB, free: 15.61 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/1.847, allocations: 143.5 kB / 1.671 GB, free: 15.48 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/1.847, allocations: 25.7 kB / 1.671 GB, free: 15.45 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/1.847, allocations: 144.8 kB / 1.671 GB, free: 15.31 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/1.847, allocations: 50.05 kB / 1.671 GB, free: 15.27 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/1.847, allocations: 0 / 1.671 GB, free: 15.27 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.848, allocations: 322.5 kB / 1.671 GB, free: 14.95 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/1.848, allocations: 22.69 kB / 1.671 GB, free: 14.93 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/1.848, allocations: 127.3 kB / 1.671 GB, free: 14.77 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/1.848, allocations: 79.69 kB / 1.671 GB, free: 14.71 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.848, allocations: 4 kB / 1.671 GB, free: 14.7 MB / 1.089 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005024/1.849, allocations: 211 kB / 1.671 GB, free: 14.51 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.849, allocations: 8 kB / 1.671 GB, free: 14.5 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.849, allocations: 4 kB / 1.671 GB, free: 14.5 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.849, allocations: 8.422 kB / 1.672 GB, free: 14.49 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/1.849, allocations: 59.91 kB / 1.672 GB, free: 14.43 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.849, allocations: 11.92 kB / 1.672 GB, free: 14.42 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/1.849, allocations: 19.75 kB / 1.672 GB, free: 14.4 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/1.849, allocations: 15.12 kB / 1.672 GB, free: 14.39 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 9.432e-05/1.849, allocations: 116.8 kB / 1.672 GB, free: 14.27 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/1.849, allocations: 11.91 kB / 1.672 GB, free: 14.26 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/1.85, allocations: 177.3 kB / 1.672 GB, free: 14.11 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.85, allocations: 8 kB / 1.672 GB, free: 14.1 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.85, allocations: 3.953 kB / 1.672 GB, free: 14.1 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.85, allocations: 0 / 1.672 GB, free: 14.1 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/1.85, allocations: 184.7 kB / 1.672 GB, free: 13.89 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.85, allocations: 0 / 1.672 GB, free: 13.89 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/1.85, allocations: 31.55 kB / 1.672 GB, free: 13.86 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.85, allocations: 0 / 1.672 GB, free: 13.86 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.85, allocations: 3.984 kB / 1.672 GB, free: 13.86 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.85, allocations: 4 kB / 1.672 GB, free: 13.86 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.85, allocations: 3.938 kB / 1.672 GB, free: 13.85 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/1.851, allocations: 232.9 kB / 1.672 GB, free: 13.62 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/1.851, allocations: 111.8 kB / 1.672 GB, free: 13.5 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/1.851, allocations: 4 kB / 1.672 GB, free: 13.5 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/1.851, allocations: 11.98 kB / 1.672 GB, free: 13.49 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/1.851, allocations: 19.3 kB / 1.672 GB, free: 13.47 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/1.851, allocations: 8 kB / 1.672 GB, free: 13.46 MB / 1.089 GB Notification: Performance of sorting global known variables: time 6.946e-05/1.851, allocations: 111.9 kB / 1.673 GB, free: 13.37 MB / 1.089 GB Notification: Performance of sort global known variables: time 3.5e-07/1.851, allocations: 0 / 1.673 GB, free: 13.37 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0004674/1.852, allocations: 83.2 kB / 1.673 GB, free: 13.29 MB / 1.089 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003942/1.852, allocations: 214.5 kB / 1.673 GB, free: 13.07 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0002171/1.852, allocations: 108 kB / 1.673 GB, free: 12.98 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/1.852, allocations: 0 / 1.673 GB, free: 12.98 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/1.852, allocations: 42.36 kB / 1.673 GB, free: 12.95 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/1.853, allocations: 28.38 kB / 1.673 GB, free: 12.93 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/1.853, allocations: 164.2 kB / 1.673 GB, free: 12.75 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/1.854, allocations: 0.7128 MB / 1.674 GB, free: 12.01 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.000214/1.854, allocations: 53.56 kB / 1.674 GB, free: 11.96 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/1.854, allocations: 23.38 kB / 1.674 GB, free: 11.94 MB / 1.089 GB Notification: Performance of SimCode: time 6.31e-07/1.854, allocations: 0 / 1.674 GB, free: 11.94 MB / 1.089 GB Notification: Performance of Templates: time 0.008434/1.862, allocations: 2.903 MB / 1.677 GB, free: 9.074 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches