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.454/2.454, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001126/0.001126, allocations: 186.8 kB / 0.4902 GB, free: 2.258 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.779/1.779, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001055/0.001055, allocations: 112.6 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004063, allocations: 10.91 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3683, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.467/1.835, allocations: 439.3 MB / 1.658 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/1.835, allocations: 68.28 kB / 1.658 GB, free: 7.523 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.06645/1.902, allocations: 25.98 MB / 1.684 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.475e-06/1.902, allocations: 0 / 1.684 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.663e-05/1.902, allocations: 0 / 1.684 GB, free: 1.887 MB / 0.9948 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.001111/1.903, allocations: 0.4942 MB / 1.684 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/1.903, allocations: 12.56 kB / 1.684 GB, free: 1.344 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/1.903, allocations: 27.75 kB / 1.684 GB, free: 1.316 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/1.904, allocations: 205.2 kB / 1.684 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/1.904, allocations: 15.89 kB / 1.684 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/1.904, allocations: 15.61 kB / 1.684 GB, free: 1.062 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/1.904, allocations: 245.9 kB / 1.685 GB, free: 0.8594 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.904, allocations: 3.984 kB / 1.685 GB, free: 0.8555 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/1.904, allocations: 7.75 kB / 1.685 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/1.904, allocations: 4 kB / 1.685 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/1.905, allocations: 431.4 kB / 1.685 GB, free: 0.4961 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/1.906, allocations: 1.042 MB / 1.686 GB, free: 15.45 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/1.907, allocations: 156.9 kB / 1.686 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/1.909, allocations: 1.832 MB / 1.688 GB, free: 13.17 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.909, allocations: 45.58 kB / 1.688 GB, free: 13.12 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/1.909, allocations: 0 / 1.688 GB, free: 13.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0004092/1.909, allocations: 146.2 kB / 1.688 GB, free: 13 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.909, allocations: 51.41 kB / 1.688 GB, free: 12.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/1.909, allocations: 152.3 kB / 1.688 GB, free: 12.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/1.909, allocations: 32.64 kB / 1.688 GB, free: 12.76 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/1.909, allocations: 138.5 kB / 1.689 GB, free: 12.63 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/1.91, allocations: 58.25 kB / 1.689 GB, free: 12.58 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/1.91, allocations: 7.312 kB / 1.689 GB, free: 12.57 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.91, allocations: 325.2 kB / 1.689 GB, free: 12.25 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/1.91, allocations: 30.61 kB / 1.689 GB, free: 12.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/1.91, allocations: 144.5 kB / 1.689 GB, free: 12.05 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/1.91, allocations: 66.81 kB / 1.689 GB, free: 12.01 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.91, allocations: 3.938 kB / 1.689 GB, free: 12 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003758/1.911, allocations: 206.4 kB / 1.689 GB, free: 11.83 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.911, allocations: 8 kB / 1.689 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.911, allocations: 7.953 kB / 1.689 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/1.911, allocations: 4 kB / 1.689 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/1.911, allocations: 55.91 kB / 1.689 GB, free: 11.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/1.911, allocations: 11.94 kB / 1.689 GB, free: 11.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/1.911, allocations: 31.48 kB / 1.689 GB, free: 11.71 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/1.911, allocations: 14.91 kB / 1.689 GB, free: 11.7 MB / 1.01 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.0001952/1.911, allocations: 141 kB / 1.69 GB, free: 11.57 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/1.911, allocations: 11.91 kB / 1.69 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/1.912, allocations: 155.7 kB / 1.69 GB, free: 11.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/1.912, allocations: 3.953 kB / 1.69 GB, free: 11.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/1.912, allocations: 3.984 kB / 1.69 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.912, allocations: 0 / 1.69 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/1.912, allocations: 212.3 kB / 1.69 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.912, allocations: 0 / 1.69 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/1.912, allocations: 39.91 kB / 1.69 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/1.912, allocations: 0 / 1.69 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/1.912, allocations: 7.688 kB / 1.69 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/1.912, allocations: 0 / 1.69 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.912, allocations: 7.891 kB / 1.69 GB, free: 11.13 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/1.913, allocations: 217.4 kB / 1.69 GB, free: 10.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/1.913, allocations: 112.3 kB / 1.69 GB, free: 10.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/1.913, allocations: 7.938 kB / 1.69 GB, free: 10.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/1.913, allocations: 19.98 kB / 1.69 GB, free: 10.78 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/1.913, allocations: 19.86 kB / 1.69 GB, free: 10.76 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/1.913, allocations: 11.88 kB / 1.69 GB, free: 10.75 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001403/1.914, allocations: 122.9 kB / 1.69 GB, free: 10.64 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.51e-07/1.914, allocations: 0 / 1.69 GB, free: 10.64 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006461/1.914, allocations: 91.75 kB / 1.691 GB, free: 10.57 MB / 1.01 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.0007158/1.915, allocations: 211.6 kB / 1.691 GB, free: 10.36 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003595/1.915, allocations: 122.1 kB / 1.691 GB, free: 10.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.915, allocations: 192 / 1.691 GB, free: 10.25 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.844e-05/1.915, allocations: 46.98 kB / 1.691 GB, free: 10.21 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/1.916, allocations: 46.45 kB / 1.691 GB, free: 10.18 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/1.917, allocations: 422.5 kB / 1.691 GB, free: 9.75 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/1.918, allocations: 0.7133 MB / 1.692 GB, free: 9.004 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002405/1.918, allocations: 53.72 kB / 1.692 GB, free: 8.953 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/1.918, allocations: 22.75 kB / 1.692 GB, free: 8.934 MB / 1.01 GB Notification: Performance of SimCode: time 1.162e-06/1.918, allocations: 0 / 1.692 GB, free: 8.934 MB / 1.01 GB Notification: Performance of Templates: time 0.01149/1.929, allocations: 3.57 MB / 1.696 GB, free: 5.41 MB / 1.01 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