Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.3 MB / 0.6653 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8274, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1485/0.9759, allocations: 114.9 MB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0253/1.001, allocations: 19.72 MB / 1.085 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/1.002, allocations: 0 / 1.085 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003333/1.002, allocations: 35.75 kB / 1.085 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/1.002, allocations: 87.75 kB / 1.085 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01686/1.019, allocations: 5.122 MB / 1.09 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/1.02, allocations: 164.6 kB / 1.09 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/1.02, allocations: 13.56 kB / 1.09 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/1.02, allocations: 131.5 kB / 1.09 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/1.02, allocations: 75.73 kB / 1.09 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/1.02, allocations: 8 kB / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02058/1.041, allocations: 10.68 MB / 1.101 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/1.041, allocations: 39.89 kB / 1.101 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/1.041, allocations: 53.64 kB / 1.101 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00848/1.05, allocations: 4.078 MB / 1.105 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.05, allocations: 0 / 1.105 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/1.05, allocations: 0 / 1.105 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.05, allocations: 0 / 1.105 GB, free: 4.695 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003763/1.053, allocations: 1.154 MB / 1.106 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.053, allocations: 12.03 kB / 1.106 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/1.055, allocations: 91.72 kB / 1.106 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/1.055, allocations: 226.8 kB / 1.106 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.055, allocations: 12 kB / 1.106 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/1.055, allocations: 12 kB / 1.106 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/1.056, allocations: 452.5 kB / 1.107 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.056, allocations: 4 kB / 1.107 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/1.056, allocations: 15.92 kB / 1.107 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.056, allocations: 4 kB / 1.107 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/1.057, allocations: 0.5937 MB / 1.107 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/1.058, allocations: 0.8978 MB / 1.108 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/1.059, allocations: 252.6 kB / 1.109 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08771/1.147, allocations: 35.35 MB / 1.143 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/1.147, allocations: 38.56 kB / 1.143 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=25): time 2.585e-06/1.147, allocations: 0 / 1.143 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25): time 0.00179/1.149, allocations: 419.9 kB / 1.143 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/1.149, allocations: 59.36 kB / 1.144 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/1.149, allocations: 135.6 kB / 1.144 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/1.149, allocations: 33.7 kB / 1.144 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/1.149, allocations: 112.4 kB / 1.144 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/1.149, allocations: 82.73 kB / 1.144 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/1.149, allocations: 8 kB / 1.144 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.15, allocations: 322.8 kB / 1.144 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/1.15, allocations: 79.95 kB / 1.144 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/1.15, allocations: 129 kB / 1.144 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/1.15, allocations: 93 kB / 1.144 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.15, allocations: 0 / 1.144 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006777/1.151, allocations: 296.5 kB / 1.145 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/1.151, allocations: 4 kB / 1.145 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.151, allocations: 4.156 kB / 1.145 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.151, allocations: 4 kB / 1.145 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/1.151, allocations: 83.88 kB / 1.145 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.151, allocations: 0 / 1.145 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/1.152, allocations: 35.62 kB / 1.145 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/1.152, allocations: 23.98 kB / 1.145 GB, free: 8.348 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * Array equations: 0 * 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.0001717/1.152, allocations: 125.8 kB / 1.145 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/1.152, allocations: 11.91 kB / 1.145 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/1.155, allocations: 2.347 MB / 1.147 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.155, allocations: 19.98 kB / 1.147 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.155, allocations: 0 / 1.147 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.155, allocations: 0 / 1.147 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/1.158, allocations: 3.424 MB / 1.151 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.158, allocations: 0 / 1.151 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/1.159, allocations: 59.89 kB / 1.151 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/1.159, allocations: 0 / 1.151 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/1.159, allocations: 11.98 kB / 1.151 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/1.159, allocations: 3.953 kB / 1.151 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.159, allocations: 7.938 kB / 1.151 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/1.159, allocations: 0.5398 MB / 1.151 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/1.16, allocations: 148.5 kB / 1.151 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/1.16, allocations: 0 / 1.151 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/1.16, allocations: 19.98 kB / 1.151 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/1.16, allocations: 27.86 kB / 1.152 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/1.16, allocations: 20 kB / 1.152 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.685e-05/1.16, allocations: 109 kB / 1.152 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.16, allocations: 0 / 1.152 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005387/1.165, allocations: 1.62 MB / 1.153 GB, free: 15.7 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007732/1.173, allocations: 1.897 MB / 1.155 GB, free: 13.79 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006088/1.174, allocations: 312.3 kB / 1.155 GB, free: 13.49 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.174, allocations: 0 / 1.155 GB, free: 13.49 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/1.174, allocations: 240.5 kB / 1.156 GB, free: 13.25 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/1.175, allocations: 60.25 kB / 1.156 GB, free: 13.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.176, allocations: 0.7901 MB / 1.156 GB, free: 12.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/1.176, allocations: 0.7741 MB / 1.157 GB, free: 11.58 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005303/1.177, allocations: 420.9 kB / 1.158 GB, free: 11.17 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.177, allocations: 39.42 kB / 1.158 GB, free: 11.13 MB / 0.92 GB Notification: Performance of SimCode: time 4.21e-07/1.177, allocations: 0 / 1.158 GB, free: 11.13 MB / 0.92 GB Notification: Performance of Templates: time 0.07384/1.25, allocations: 57.88 MB / 1.214 GB, free: 1.215 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_9_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamProperties.csv","../files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches