Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,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.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 187.5 kB / 326.5 MB, free: 2.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.819/1.819, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0008821/0.0008821, allocations: 90.36 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 13.59 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2484, allocations: 106.3 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.323, allocations: 430.9 MB / 1.321 GB, free: 1.922 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.324, allocations: 83.95 kB / 1.321 GB, free: 1.875 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8029/2.127, allocations: 86.04 MB / 1.405 GB, free: 301.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.275e-06/2.127, allocations: 0 / 1.405 GB, free: 301.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.549e-05/2.127, allocations: 2.656 kB / 1.405 GB, free: 301.4 MB / 0.8855 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.003428/2.13, allocations: 0.7384 MB / 1.406 GB, free: 300.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/2.13, allocations: 9.906 kB / 1.406 GB, free: 300.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/2.131, allocations: 23.95 kB / 1.406 GB, free: 300.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/2.131, allocations: 226 kB / 1.406 GB, free: 300.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/2.131, allocations: 10.95 kB / 1.406 GB, free: 300.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/2.131, allocations: 15.56 kB / 1.406 GB, free: 300.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/2.131, allocations: 241.5 kB / 1.406 GB, free: 300.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/2.131, allocations: 4.094 kB / 1.406 GB, free: 300.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/2.131, allocations: 6.281 kB / 1.406 GB, free: 300.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/2.132, allocations: 9.484 kB / 1.406 GB, free: 300.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/2.132, allocations: 430.1 kB / 1.407 GB, free: 300.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/2.133, allocations: 1.053 MB / 1.408 GB, free: 299.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/2.134, allocations: 165.2 kB / 1.408 GB, free: 299.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/2.135, allocations: 1.849 MB / 1.41 GB, free: 297.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/2.135, allocations: 31.78 kB / 1.41 GB, free: 297.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/2.135, allocations: 5.438 kB / 1.41 GB, free: 297.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0003669/2.136, allocations: 142.6 kB / 1.41 GB, free: 297.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/2.136, allocations: 56.75 kB / 1.41 GB, free: 297.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/2.136, allocations: 154.4 kB / 1.41 GB, free: 297.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/2.136, allocations: 29.42 kB / 1.41 GB, free: 297.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/2.136, allocations: 139.1 kB / 1.41 GB, free: 297.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/2.136, allocations: 57.66 kB / 1.41 GB, free: 297.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/2.136, allocations: 4.969 kB / 1.41 GB, free: 297.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.896e-05/2.136, allocations: 329.3 kB / 1.411 GB, free: 296.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/2.136, allocations: 36.48 kB / 1.411 GB, free: 296.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/2.136, allocations: 138.5 kB / 1.411 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/2.136, allocations: 53.38 kB / 1.411 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/2.136, allocations: 5.156 kB / 1.411 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003402/2.137, allocations: 217.5 kB / 1.411 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/2.137, allocations: 10.02 kB / 1.411 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/2.137, allocations: 4.438 kB / 1.411 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/2.137, allocations: 4.875 kB / 1.411 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/2.137, allocations: 56.39 kB / 1.411 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/2.137, allocations: 5.5 kB / 1.411 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/2.137, allocations: 31.97 kB / 1.411 GB, free: 296.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/2.137, allocations: 14.88 kB / 1.411 GB, free: 296.7 MB / 0.8855 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.0001028/2.137, allocations: 130.4 kB / 1.411 GB, free: 296.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/2.137, allocations: 15.59 kB / 1.411 GB, free: 296.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/2.138, allocations: 167.2 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/2.138, allocations: 1.062 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/2.138, allocations: 1.062 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/2.138, allocations: 3.844 kB / 1.411 GB, free: 296.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/2.138, allocations: 207.2 kB / 1.412 GB, free: 296.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/2.138, allocations: 1.062 kB / 1.412 GB, free: 296.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/2.138, allocations: 33.08 kB / 1.412 GB, free: 296.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/2.138, allocations: 4.656 kB / 1.412 GB, free: 296.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/2.138, allocations: 5.25 kB / 1.412 GB, free: 296.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/2.138, allocations: 9.234 kB / 1.412 GB, free: 296.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/2.138, allocations: 0 / 1.412 GB, free: 296.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/2.138, allocations: 225 kB / 1.412 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/2.138, allocations: 124.4 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/2.138, allocations: 0 / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/2.139, allocations: 9.75 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/2.139, allocations: 16.03 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/2.139, allocations: 14.05 kB / 1.412 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.708e-05/2.139, allocations: 118.1 kB / 1.412 GB, free: 296 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/2.139, allocations: 0 / 1.412 GB, free: 296 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006078/2.139, allocations: 89.66 kB / 1.412 GB, free: 296 MB / 0.8855 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.0004503/2.14, allocations: 225.8 kB / 1.412 GB, free: 295.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002689/2.14, allocations: 115.3 kB / 1.413 GB, free: 295.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/2.14, allocations: 1.375 kB / 1.413 GB, free: 295.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/2.14, allocations: 46.91 kB / 1.413 GB, free: 295.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/2.141, allocations: 49.27 kB / 1.413 GB, free: 295.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/2.141, allocations: 422.9 kB / 1.413 GB, free: 295.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/2.142, allocations: 0.7162 MB / 1.414 GB, free: 295 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002106/2.142, allocations: 48.8 kB / 1.414 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/2.142, allocations: 25.03 kB / 1.414 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/2.142, allocations: 0 / 1.414 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.01012/2.152, allocations: 4.083 MB / 1.418 GB, free: 294.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches