Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0013/0.001301, allocations: 99.62 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.001572/0.001572, 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.32/1.32, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.509/2.509, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003421, allocations: 8 kB / 0.8707 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6384/0.6387, allocations: 153.7 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1271/0.7659, allocations: 114.8 MB / 1.133 GB, free: 14 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.7903, allocations: 20.07 MB / 1.153 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.7905, allocations: 8 kB / 1.153 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.7908, allocations: 35.86 kB / 1.153 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.791, allocations: 83.69 kB / 1.153 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01499/0.806, allocations: 5.313 MB / 1.158 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.8064, allocations: 164.7 kB / 1.158 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.8065, allocations: 21.47 kB / 1.158 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.8068, allocations: 115.6 kB / 1.158 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.807, allocations: 83.66 kB / 1.158 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.807, allocations: 8 kB / 1.158 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02185/0.8289, allocations: 11.33 MB / 1.169 GB, free: 8.742 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.829, allocations: 35.89 kB / 1.169 GB, free: 8.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.535e-05/0.8291, allocations: 53.64 kB / 1.169 GB, free: 8.648 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008358/0.8375, allocations: 4.296 MB / 1.174 GB, free: 4.344 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.8375, allocations: 3.938 kB / 1.174 GB, free: 4.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8375, allocations: 0 / 1.174 GB, free: 4.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8375, allocations: 0 / 1.174 GB, free: 4.34 MB / 0.92 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.003226/0.8408, allocations: 1.166 MB / 1.175 GB, free: 3.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.8408, allocations: 12.02 kB / 1.175 GB, free: 3.113 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.8419, allocations: 87.69 kB / 1.175 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.8421, allocations: 222.9 kB / 1.175 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.8422, allocations: 8 kB / 1.175 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.8422, allocations: 16 kB / 1.175 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.8433, allocations: 448.5 kB / 1.175 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8433, allocations: 0 / 1.175 GB, free: 2.289 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.8433, allocations: 8 kB / 1.175 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.8433, allocations: 7.953 kB / 1.175 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.8445, allocations: 0.5969 MB / 1.176 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.8456, allocations: 0.8978 MB / 1.177 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007989/0.8464, allocations: 254.2 kB / 1.177 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08699/0.9334, allocations: 35.35 MB / 1.212 GB, free: 9.984 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.9335, allocations: 38.56 kB / 1.212 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 2.033e-06/0.9335, allocations: 0 / 1.212 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.001683/0.9352, allocations: 417.2 kB / 1.212 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.9352, allocations: 55.41 kB / 1.212 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.9354, allocations: 142 kB / 1.212 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.9354, allocations: 33.7 kB / 1.212 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.9355, allocations: 112.3 kB / 1.212 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.9355, allocations: 82.73 kB / 1.213 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.9356, allocations: 4 kB / 1.213 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.9357, allocations: 326.8 kB / 1.213 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.9359, allocations: 83.94 kB / 1.213 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.9361, allocations: 125.1 kB / 1.213 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.9363, allocations: 87.27 kB / 1.213 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9363, allocations: 0 / 1.213 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007077/0.937, allocations: 293.4 kB / 1.213 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.937, allocations: 13.73 kB / 1.213 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.937, allocations: 7.938 kB / 1.213 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.9371, allocations: 3.938 kB / 1.213 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.9374, allocations: 79.92 kB / 1.214 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.9374, allocations: 7.938 kB / 1.214 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.9376, allocations: 23.75 kB / 1.214 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.9376, allocations: 31.97 kB / 1.214 GB, free: 7.98 MB / 0.9669 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.0001307/0.9377, allocations: 127.5 kB / 1.214 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.9379, allocations: 27.7 kB / 1.214 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.9403, allocations: 2.335 MB / 1.216 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.9403, allocations: 15.97 kB / 1.216 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.9403, allocations: 4 kB / 1.216 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.9403, allocations: 0 / 1.216 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.9435, allocations: 3.428 MB / 1.219 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.9435, allocations: 0 / 1.219 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.9438, allocations: 55.94 kB / 1.219 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.9438, allocations: 3.938 kB / 1.219 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.9438, allocations: 12 kB / 1.219 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.9438, allocations: 0 / 1.219 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9439, allocations: 0 / 1.219 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007308/0.9446, allocations: 0.5384 MB / 1.22 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.9447, allocations: 152.5 kB / 1.22 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.9448, allocations: 0 / 1.22 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.945, allocations: 23.98 kB / 1.22 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.9451, allocations: 15.98 kB / 1.22 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.9451, allocations: 15.98 kB / 1.22 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.952e-05/0.9452, allocations: 103.3 kB / 1.22 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9452, allocations: 0 / 1.22 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004702/0.9499, allocations: 1.69 MB / 1.222 GB, free: 15.28 MB / 0.9825 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.007879/0.9578, allocations: 1.936 MB / 1.224 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007368/0.9586, allocations: 320.5 kB / 1.224 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.9586, allocations: 4 kB / 1.224 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.9589, allocations: 236.8 kB / 1.224 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.9594, allocations: 59.89 kB / 1.224 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.9605, allocations: 0.8085 MB / 1.225 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.9607, allocations: 0.7663 MB / 1.226 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005336/0.9613, allocations: 405 kB / 1.226 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.9614, allocations: 43.41 kB / 1.226 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9614, allocations: 0 / 1.226 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.5469/1.508, allocations: 60.36 MB / 1.285 GB, free: 213.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches