Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.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.WaterProperties,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_maint.7.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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_maint.7.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 249.5 MB / 257 MB, free: 6.949 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.00129/0.00129, allocations: 183.4 kB / 316.3 MB, free: 3.254 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.632/1.632, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.001122/0.001122, allocations: 96.12 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.669e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2551, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.361, allocations: 373.5 MB / 1.25 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/1.361, allocations: 67.53 kB / 1.25 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6133/1.975, allocations: 19.12 MB / 1.269 GB, free: 324.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.579e-06/1.975, allocations: 0.5938 kB / 1.269 GB, free: 324.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.11e-05/1.975, allocations: 5.344 kB / 1.269 GB, free: 324.4 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001098/1.976, allocations: 465.2 kB / 1.269 GB, free: 324 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/1.976, allocations: 9.859 kB / 1.269 GB, free: 324 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/1.976, allocations: 21.02 kB / 1.269 GB, free: 324 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/1.977, allocations: 220.2 kB / 1.269 GB, free: 323.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/1.977, allocations: 5.641 kB / 1.269 GB, free: 323.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/1.977, allocations: 13.38 kB / 1.269 GB, free: 323.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/1.978, allocations: 408 kB / 1.27 GB, free: 323.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/1.978, allocations: 220.2 kB / 1.27 GB, free: 323.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/1.978, allocations: 3.906 kB / 1.27 GB, free: 323.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/1.978, allocations: 0.7188 kB / 1.27 GB, free: 323.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/1.979, allocations: 9.797 kB / 1.27 GB, free: 323.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/1.98, allocations: 0.9777 MB / 1.271 GB, free: 322.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/1.981, allocations: 146.7 kB / 1.271 GB, free: 322.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/1.981, allocations: 52.56 kB / 1.271 GB, free: 322.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/1.982, allocations: 1.91 MB / 1.273 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/1.983, allocations: 36.84 kB / 1.273 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/1.983, allocations: 0 / 1.273 GB, free: 320.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.000641/1.983, allocations: 138 kB / 1.273 GB, free: 320.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/1.983, allocations: 52.44 kB / 1.273 GB, free: 320.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/1.983, allocations: 133.9 kB / 1.273 GB, free: 320.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/1.983, allocations: 30.45 kB / 1.273 GB, free: 320.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.984, allocations: 145.5 kB / 1.274 GB, free: 320.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/1.984, allocations: 54.69 kB / 1.274 GB, free: 320.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/1.984, allocations: 3.094 kB / 1.274 GB, free: 320.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/1.984, allocations: 321.5 kB / 1.274 GB, free: 320.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/1.984, allocations: 26.89 kB / 1.274 GB, free: 320.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/1.984, allocations: 135.9 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/1.984, allocations: 77.44 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.984, allocations: 1.219 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005647/1.985, allocations: 207.2 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.985, allocations: 7.25 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.985, allocations: 3.531 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/1.985, allocations: 7.031 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/1.985, allocations: 57.89 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/1.985, allocations: 13.53 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.985, allocations: 21.33 kB / 1.274 GB, free: 320 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/1.985, allocations: 19.88 kB / 1.274 GB, free: 320 MB / 0.8698 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 8.701e-05/1.985, allocations: 111.4 kB / 1.275 GB, free: 319.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/1.985, allocations: 15.53 kB / 1.275 GB, free: 319.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005555/1.986, allocations: 172.3 kB / 1.275 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.986, allocations: 2.344 kB / 1.275 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.986, allocations: 3.938 kB / 1.275 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/1.986, allocations: 5.984 kB / 1.275 GB, free: 319.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/1.986, allocations: 184.3 kB / 1.275 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.986, allocations: 0 / 1.275 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/1.986, allocations: 31.73 kB / 1.275 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.986, allocations: 0.8438 kB / 1.275 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.987, allocations: 6.5 kB / 1.275 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.987, allocations: 5.125 kB / 1.275 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/1.987, allocations: 0 / 1.275 GB, free: 319.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/1.987, allocations: 236.8 kB / 1.275 GB, free: 319.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/1.987, allocations: 119.8 kB / 1.275 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/1.987, allocations: 1.312 kB / 1.275 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/1.987, allocations: 6.422 kB / 1.275 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/1.987, allocations: 8.203 kB / 1.275 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/1.987, allocations: 12.59 kB / 1.275 GB, free: 319.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.434e-05/1.987, allocations: 104.3 kB / 1.275 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.987, allocations: 3.094 kB / 1.275 GB, free: 319.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004617/1.988, allocations: 71.27 kB / 1.276 GB, free: 319.3 MB / 0.8698 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.0003646/1.988, allocations: 183.1 kB / 1.276 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002761/1.989, allocations: 99.58 kB / 1.276 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.989, allocations: 0.75 kB / 1.276 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.074e-05/1.989, allocations: 43.39 kB / 1.276 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/1.989, allocations: 30.33 kB / 1.276 GB, free: 319.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/1.99, allocations: 166.3 kB / 1.276 GB, free: 319.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/1.99, allocations: 0.718 MB / 1.277 GB, free: 318.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001818/1.99, allocations: 46.84 kB / 1.277 GB, free: 318.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/1.99, allocations: 21.33 kB / 1.277 GB, free: 318.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/1.99, allocations: 3.938 kB / 1.277 GB, free: 318.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.009481/2, allocations: 2.872 MB / 1.28 GB, free: 318.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_WaterProperties.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches