Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.00116/0.00116, allocations: 182.7 kB / 498.1 MB, free: 5.766 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.611/1.611, allocations: 223.2 MB / 0.7949 GB, free: 17.96 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.001009/0.001009, allocations: 99.84 kB / 0.9346 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004338, allocations: 10.56 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.371, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.41/1.781, allocations: 438.5 MB / 1.651 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/1.782, allocations: 68.28 kB / 1.651 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.06466/1.847, allocations: 25.98 MB / 1.676 GB, free: 1.617 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.675e-06/1.847, allocations: 0 / 1.676 GB, free: 1.617 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.189e-05/1.847, allocations: 4 kB / 1.676 GB, free: 1.613 MB / 0.9792 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.0008928/1.848, allocations: 0.4971 MB / 1.677 GB, free: 1.078 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.848, allocations: 8.031 kB / 1.677 GB, free: 1.07 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/1.848, allocations: 27.75 kB / 1.677 GB, free: 1.043 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/1.848, allocations: 206.3 kB / 1.677 GB, free: 0.8086 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/1.848, allocations: 10.64 kB / 1.677 GB, free: 0.8047 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/1.848, allocations: 19.88 kB / 1.677 GB, free: 0.7891 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/1.848, allocations: 246 kB / 1.677 GB, free: 0.5859 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.849, allocations: 0 / 1.677 GB, free: 0.5859 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/1.849, allocations: 7.562 kB / 1.677 GB, free: 0.582 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/1.849, allocations: 4 kB / 1.677 GB, free: 0.5781 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/1.849, allocations: 432.5 kB / 1.678 GB, free: 232 kB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/1.85, allocations: 1.044 MB / 1.679 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/1.851, allocations: 160.2 kB / 1.679 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/1.852, allocations: 1.839 MB / 1.681 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.852, allocations: 38.52 kB / 1.681 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/1.852, allocations: 0 / 1.681 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.000351/1.852, allocations: 139.3 kB / 1.681 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.853, allocations: 55.41 kB / 1.681 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/1.853, allocations: 158.8 kB / 1.681 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/1.853, allocations: 33.64 kB / 1.681 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/1.853, allocations: 127.7 kB / 1.681 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/1.853, allocations: 61.14 kB / 1.681 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/1.853, allocations: 0 / 1.681 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.853, allocations: 330.3 kB / 1.682 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/1.853, allocations: 34.36 kB / 1.682 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/1.853, allocations: 149.9 kB / 1.682 GB, free: 11.78 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/1.853, allocations: 54.5 kB / 1.682 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.853, allocations: 7.984 kB / 1.682 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003031/1.854, allocations: 207.6 kB / 1.682 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.854, allocations: 8 kB / 1.682 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.854, allocations: 7.953 kB / 1.682 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/1.854, allocations: 4 kB / 1.682 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/1.854, allocations: 63.09 kB / 1.682 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.854, allocations: 7.938 kB / 1.682 GB, free: 11.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/1.854, allocations: 35.17 kB / 1.682 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/1.854, allocations: 19.44 kB / 1.682 GB, free: 11.42 MB / 0.9948 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 () * Number of clocked 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 0.0001218/1.854, allocations: 133.6 kB / 1.682 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/1.854, allocations: 15.81 kB / 1.682 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/1.855, allocations: 147.3 kB / 1.683 GB, free: 11.15 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.855, allocations: 7.953 kB / 1.683 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.855, allocations: 7.922 kB / 1.683 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.855, allocations: 3.938 kB / 1.683 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/1.855, allocations: 213 kB / 1.683 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.855, allocations: 0 / 1.683 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/1.855, allocations: 35.95 kB / 1.683 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.855, allocations: 4 kB / 1.683 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/1.855, allocations: 7.5 kB / 1.683 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.855, allocations: 0 / 1.683 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.855, allocations: 3.953 kB / 1.683 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/1.855, allocations: 220 kB / 1.683 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/1.855, allocations: 115.1 kB / 1.683 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/1.855, allocations: 0 / 1.683 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/1.856, allocations: 27.92 kB / 1.683 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/1.856, allocations: 11.94 kB / 1.683 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/1.856, allocations: 7.875 kB / 1.683 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.377e-05/1.856, allocations: 127.4 kB / 1.683 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.31e-07/1.856, allocations: 0 / 1.683 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004274/1.856, allocations: 87.44 kB / 1.683 GB, free: 10.29 MB / 0.9948 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 (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.0004186/1.857, allocations: 214.8 kB / 1.684 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002246/1.857, allocations: 124.6 kB / 1.684 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.857, allocations: 4.938 kB / 1.684 GB, free: 9.965 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.807e-05/1.857, allocations: 42.98 kB / 1.684 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/1.857, allocations: 50.14 kB / 1.684 GB, free: 9.891 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/1.858, allocations: 418.8 kB / 1.684 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/1.858, allocations: 0.7133 MB / 1.685 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001636/1.859, allocations: 49.73 kB / 1.685 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/1.859, allocations: 23.25 kB / 1.685 GB, free: 8.656 MB / 0.9948 GB Notification: Performance of SimCode: time 3.61e-07/1.859, allocations: 0 / 1.685 GB, free: 8.656 MB / 0.9948 GB Notification: Performance of Templates: time 0.00743/1.866, allocations: 3.561 MB / 1.689 GB, free: 5.141 MB / 0.9948 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches