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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001546/0.001546, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001681/0.001681, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.618/2.618, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 60.12 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8806, allocations: 157.4 MB / 1.208 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.146/1.027, allocations: 136.1 MB / 1.341 GB, free: 5.191 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02798/1.055, allocations: 22.68 MB / 1.363 GB, free: 14.43 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/1.055, allocations: 0 / 1.363 GB, free: 14.43 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003283/1.055, allocations: 47.67 kB / 1.364 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003944/1.056, allocations: 91.38 kB / 1.364 GB, free: 14.3 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01808/1.074, allocations: 6.951 MB / 1.37 GB, free: 7.363 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0004341/1.074, allocations: 251.9 kB / 1.371 GB, free: 7.117 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/1.074, allocations: 13.55 kB / 1.371 GB, free: 7.105 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/1.075, allocations: 143.4 kB / 1.371 GB, free: 6.965 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/1.075, allocations: 79.73 kB / 1.371 GB, free: 6.887 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/1.075, allocations: 12 kB / 1.371 GB, free: 6.875 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02214/1.097, allocations: 11.65 MB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.395e-05/1.097, allocations: 31.91 kB / 1.382 GB, free: 11.18 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/1.097, allocations: 83.64 kB / 1.382 GB, free: 11.1 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01353/1.111, allocations: 6.48 MB / 1.389 GB, free: 4.605 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.111, allocations: 0 / 1.389 GB, free: 4.605 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.803e-06/1.111, allocations: 3.938 kB / 1.389 GB, free: 4.602 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.111, allocations: 0 / 1.389 GB, free: 4.602 MB / 1.107 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.003359/1.114, allocations: 1.197 MB / 1.39 GB, free: 3.355 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.114, allocations: 12.03 kB / 1.39 GB, free: 3.344 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/1.115, allocations: 84.66 kB / 1.39 GB, free: 3.262 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/1.116, allocations: 228 kB / 1.39 GB, free: 3 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/1.116, allocations: 20.05 kB / 1.39 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/1.116, allocations: 20 kB / 1.39 GB, free: 2.961 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/1.117, allocations: 450 kB / 1.391 GB, free: 2.504 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.117, allocations: 4 kB / 1.391 GB, free: 2.5 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/1.117, allocations: 12 kB / 1.391 GB, free: 2.488 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/1.117, allocations: 4 kB / 1.391 GB, free: 2.484 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/1.119, allocations: 0.5931 MB / 1.391 GB, free: 1.891 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/1.12, allocations: 0.89 MB / 1.392 GB, free: 0.9141 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/1.121, allocations: 251.8 kB / 1.392 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.121, allocations: 72.83 kB / 1.392 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09377/1.215, allocations: 35.41 MB / 1.427 GB, free: 10.08 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.215, allocations: 43.22 kB / 1.427 GB, free: 10.03 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 1.923e-06/1.215, allocations: 0 / 1.427 GB, free: 10.03 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.001783/1.217, allocations: 426.2 kB / 1.427 GB, free: 9.613 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/1.217, allocations: 51.41 kB / 1.427 GB, free: 9.551 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/1.217, allocations: 143.7 kB / 1.428 GB, free: 9.402 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/1.217, allocations: 25.7 kB / 1.428 GB, free: 9.371 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/1.217, allocations: 112.3 kB / 1.428 GB, free: 9.258 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/1.217, allocations: 86.75 kB / 1.428 GB, free: 9.172 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.217, allocations: 77.66 kB / 1.428 GB, free: 9.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.217, allocations: 330.8 kB / 1.428 GB, free: 8.758 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/1.217, allocations: 79.95 kB / 1.428 GB, free: 8.68 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/1.218, allocations: 130.3 kB / 1.428 GB, free: 8.535 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/1.218, allocations: 221 kB / 1.429 GB, free: 8.301 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.218, allocations: 0 / 1.429 GB, free: 8.301 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007716/1.219, allocations: 297.2 kB / 1.429 GB, free: 8.004 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.219, allocations: 4 kB / 1.429 GB, free: 8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.219, allocations: 0 / 1.429 GB, free: 8 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.219, allocations: 12.14 kB / 1.429 GB, free: 7.988 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/1.219, allocations: 79.89 kB / 1.429 GB, free: 7.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.219, allocations: 11.97 kB / 1.429 GB, free: 7.898 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/1.219, allocations: 19.78 kB / 1.429 GB, free: 7.879 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/1.219, allocations: 23.98 kB / 1.429 GB, free: 7.855 MB / 1.154 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/1.22, allocations: 129.1 kB / 1.429 GB, free: 7.723 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/1.22, allocations: 19.81 kB / 1.429 GB, free: 7.703 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/1.222, allocations: 2.342 MB / 1.432 GB, free: 5.348 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.222, allocations: 11.98 kB / 1.432 GB, free: 5.336 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.222, allocations: 0 / 1.432 GB, free: 5.336 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.222, allocations: 7.922 kB / 1.432 GB, free: 5.328 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/1.225, allocations: 3.427 MB / 1.435 GB, free: 1.793 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/1.225, allocations: 0 / 1.435 GB, free: 1.793 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/1.226, allocations: 55.89 kB / 1.435 GB, free: 1.738 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.226, allocations: 0 / 1.435 GB, free: 1.738 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/1.226, allocations: 11.94 kB / 1.435 GB, free: 1.727 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.226, allocations: 3.984 kB / 1.435 GB, free: 1.723 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/1.226, allocations: 8 kB / 1.435 GB, free: 1.715 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007818/1.226, allocations: 0.5465 MB / 1.435 GB, free: 1.148 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/1.227, allocations: 136.6 kB / 1.436 GB, free: 0.9961 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/1.227, allocations: 15.88 kB / 1.436 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/1.227, allocations: 11.98 kB / 1.436 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/1.227, allocations: 15.98 kB / 1.436 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/1.227, allocations: 15.98 kB / 1.436 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.983e-05/1.227, allocations: 109.1 kB / 1.436 GB, free: 0.832 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/1.227, allocations: 0 / 1.436 GB, free: 0.832 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004052/1.231, allocations: 1.687 MB / 1.437 GB, free: 15.14 MB / 1.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007949/1.239, allocations: 1.931 MB / 1.439 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000638/1.24, allocations: 320.3 kB / 1.44 GB, free: 12.89 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.24, allocations: 0 / 1.44 GB, free: 12.89 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/1.24, allocations: 244.5 kB / 1.44 GB, free: 12.65 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/1.241, allocations: 68.19 kB / 1.44 GB, free: 12.59 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/1.242, allocations: 0.6605 MB / 1.441 GB, free: 11.89 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/1.242, allocations: 0.7661 MB / 1.441 GB, free: 11.1 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/1.242, allocations: 51.41 kB / 1.441 GB, free: 11.05 MB / 1.17 GB Notification: Performance of SimCode: time 2.8e-07/1.242, allocations: 3.938 kB / 1.441 GB, free: 11.04 MB / 1.17 GB Notification: Performance of Templates: time 0.04611/1.288, allocations: 32.7 MB / 1.473 GB, free: 10.3 MB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches