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.001155/0.001155, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001595/0.001596, allocations: 168.7 kB / 15.95 MB, free: 204 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.442/1.442, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.872/2.872, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003708, allocations: 11.86 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.348, allocations: 159.6 MB / 1.058 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1436/0.4916, allocations: 123.2 MB / 1.178 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02496/0.5166, allocations: 21.38 MB / 1.199 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.5168, allocations: 4 kB / 1.199 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.5171, allocations: 35.8 kB / 1.199 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.5175, allocations: 79.48 kB / 1.199 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.01595/0.5334, allocations: 5.334 MB / 1.205 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005115/0.534, allocations: 267.9 kB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.534, allocations: 9.562 kB / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.5345, allocations: 131.5 kB / 1.205 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.5347, allocations: 95.66 kB / 1.205 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.5348, allocations: 8 kB / 1.205 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02487/0.5596, allocations: 11.11 MB / 1.216 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.5598, allocations: 35.88 kB / 1.216 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.5599, allocations: 61.52 kB / 1.216 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.009187/0.5691, allocations: 4.296 MB / 1.22 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.5692, allocations: 4 kB / 1.22 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5692, allocations: 0 / 1.22 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5692, allocations: 0 / 1.22 GB, free: 14.94 MB / 0.9825 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.004356/0.5736, allocations: 1.166 MB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5736, allocations: 8.031 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.5747, allocations: 83.72 kB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.575, allocations: 226.7 kB / 1.222 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.5751, allocations: 12 kB / 1.222 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.5751, allocations: 16 kB / 1.222 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5761, allocations: 456.4 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5762, allocations: 3.984 kB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.5762, allocations: 11.95 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.5762, allocations: 7.938 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.5773, allocations: 0.5893 MB / 1.223 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.5784, allocations: 0.8784 MB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/0.5791, allocations: 247.9 kB / 1.224 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.5792, allocations: 69.27 kB / 1.224 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8583/1.438, allocations: 35.33 MB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/1.438, allocations: 33.81 kB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 3.206e-06/1.438, allocations: 0 / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001782/1.439, allocations: 422.9 kB / 1.259 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/1.439, allocations: 55.31 kB / 1.259 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/1.44, allocations: 139.8 kB / 1.259 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/1.44, allocations: 31.98 kB / 1.259 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/1.44, allocations: 111.6 kB / 1.259 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/1.44, allocations: 83.94 kB / 1.259 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/1.44, allocations: 3.938 kB / 1.259 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/1.44, allocations: 332.1 kB / 1.259 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/1.44, allocations: 83.89 kB / 1.26 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/1.44, allocations: 128.3 kB / 1.26 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/1.44, allocations: 88 kB / 1.26 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.44, allocations: 0 / 1.26 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000634/1.441, allocations: 303.1 kB / 1.26 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.441, allocations: 5.969 kB / 1.26 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.441, allocations: 10.48 kB / 1.26 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.441, allocations: 3.328 kB / 1.26 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/1.441, allocations: 79.28 kB / 1.26 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.441, allocations: 2.891 kB / 1.26 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/1.442, allocations: 17.53 kB / 1.26 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/1.442, allocations: 27.95 kB / 1.26 GB, free: 180.7 MB / 0.9981 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.0001066/1.442, allocations: 130 kB / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.442, allocations: 19.97 kB / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/1.445, allocations: 2.344 MB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/1.445, allocations: 12.14 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.445, allocations: 0.75 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.445, allocations: 5.969 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/1.449, allocations: 3.418 MB / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.449, allocations: 4.703 kB / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/1.449, allocations: 54.97 kB / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.449, allocations: 1.75 kB / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/1.449, allocations: 16.91 kB / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.449, allocations: 2.75 kB / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.449, allocations: 0 / 1.266 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/1.45, allocations: 0.5504 MB / 1.267 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/1.45, allocations: 136.6 kB / 1.267 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/1.45, allocations: 9.969 kB / 1.267 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/1.45, allocations: 23.92 kB / 1.267 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/1.45, allocations: 18.8 kB / 1.267 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/1.45, allocations: 11.59 kB / 1.267 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.877e-05/1.45, allocations: 105.5 kB / 1.267 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.45, allocations: 0 / 1.267 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007643/1.458, allocations: 1.689 MB / 1.269 GB, free: 179.5 MB / 0.9981 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.008333/1.466, allocations: 1.939 MB / 1.27 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007656/1.467, allocations: 320.7 kB / 1.271 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.467, allocations: 1.219 kB / 1.271 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/1.468, allocations: 241.7 kB / 1.271 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/1.468, allocations: 64.42 kB / 1.271 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/1.469, allocations: 0.7849 MB / 1.272 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/1.47, allocations: 0.7663 MB / 1.273 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006748/1.47, allocations: 409.8 kB / 1.273 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/1.47, allocations: 47.17 kB / 1.273 GB, free: 178 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.47, allocations: 0 / 1.273 GB, free: 178 MB / 0.9981 GB Notification: Performance of Templates: time 0.06649/1.537, allocations: 60.38 MB / 1.332 GB, free: 131.2 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches