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.0012/0.0012, allocations: 106.9 kB / 16.35 MB, free: 5.824 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.001228/0.001228, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.342/2.342, allocations: 390.3 MB / 0.6655 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 69.23 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2886, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.8227/1.111, allocations: 136.1 MB / 1.084 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03725/1.149, allocations: 22.33 MB / 1.106 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/1.149, allocations: 2.062 kB / 1.106 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005072/1.15, allocations: 51.23 kB / 1.106 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005397/1.15, allocations: 92.83 kB / 1.106 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.03128/1.182, allocations: 6.672 MB / 1.113 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006403/1.182, allocations: 249.7 kB / 1.113 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.925e-05/1.182, allocations: 14.88 kB / 1.113 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/1.183, allocations: 137.9 kB / 1.113 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/1.183, allocations: 92.16 kB / 1.113 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/1.183, allocations: 9.062 kB / 1.113 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02936/1.212, allocations: 10.96 MB / 1.124 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/1.213, allocations: 37.08 kB / 1.124 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002866/1.213, allocations: 85.83 kB / 1.124 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.03006/1.243, allocations: 6.151 MB / 1.13 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/1.243, allocations: 1.344 kB / 1.13 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/1.243, allocations: 0 / 1.13 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.746e-06/1.243, allocations: 1.125 kB / 1.13 GB, free: 7.086 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.007494/1.251, allocations: 1.187 MB / 1.131 GB, free: 22.33 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.251, allocations: 12.39 kB / 1.131 GB, free: 22.33 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/1.252, allocations: 84.77 kB / 1.131 GB, free: 22.33 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/1.252, allocations: 231.4 kB / 1.131 GB, free: 22.12 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/1.252, allocations: 13.34 kB / 1.131 GB, free: 22.12 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/1.252, allocations: 20.94 kB / 1.131 GB, free: 22.12 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/1.254, allocations: 459 kB / 1.132 GB, free: 22.04 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.254, allocations: 1.406 kB / 1.132 GB, free: 22.04 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/1.254, allocations: 9.781 kB / 1.132 GB, free: 22.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.254, allocations: 3.938 kB / 1.132 GB, free: 22.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/1.255, allocations: 0.5936 MB / 1.132 GB, free: 22.04 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/1.256, allocations: 0.8749 MB / 1.133 GB, free: 21.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008328/1.257, allocations: 253.2 kB / 1.133 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/1.257, allocations: 74.27 kB / 1.134 GB, free: 21.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08765/1.345, allocations: 35.43 MB / 1.168 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/1.345, allocations: 42.45 kB / 1.168 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=25): time 1.943e-06/1.345, allocations: 1.094 kB / 1.168 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=25): time 0.001719/1.347, allocations: 426.2 kB / 1.169 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/1.347, allocations: 53.41 kB / 1.169 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/1.347, allocations: 145.1 kB / 1.169 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/1.347, allocations: 25.7 kB / 1.169 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/1.347, allocations: 111.6 kB / 1.169 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/1.347, allocations: 94.22 kB / 1.169 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/1.347, allocations: 75.3 kB / 1.169 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.347, allocations: 330.8 kB / 1.169 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/1.347, allocations: 80.62 kB / 1.169 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/1.348, allocations: 130.5 kB / 1.17 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/1.348, allocations: 216.9 kB / 1.17 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.348, allocations: 2.719 kB / 1.17 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006669/1.349, allocations: 295.5 kB / 1.17 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.349, allocations: 5.688 kB / 1.17 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.349, allocations: 2.781 kB / 1.17 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.349, allocations: 1.812 kB / 1.17 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/1.349, allocations: 83.75 kB / 1.17 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.349, allocations: 0 / 1.17 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/1.349, allocations: 22.22 kB / 1.17 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/1.349, allocations: 30.09 kB / 1.17 GB, free: 14.37 MB / 0.8887 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.0001413/1.35, allocations: 127.3 kB / 1.17 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/1.35, allocations: 23.5 kB / 1.17 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/1.352, allocations: 2.344 MB / 1.173 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.352, allocations: 9.547 kB / 1.173 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.352, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.352, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/1.356, allocations: 3.432 MB / 1.176 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.356, allocations: 3.984 kB / 1.176 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/1.356, allocations: 53.77 kB / 1.176 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/1.356, allocations: 6.594 kB / 1.176 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/1.356, allocations: 7.047 kB / 1.176 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.356, allocations: 3.938 kB / 1.176 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.356, allocations: 5.781 kB / 1.176 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/1.357, allocations: 0.5489 MB / 1.177 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/1.357, allocations: 142 kB / 1.177 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/1.358, allocations: 8.094 kB / 1.177 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/1.358, allocations: 12.38 kB / 1.177 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/1.358, allocations: 23.34 kB / 1.177 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/1.358, allocations: 12.34 kB / 1.177 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 7.5e-05/1.358, allocations: 107.1 kB / 1.177 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6.71e-07/1.358, allocations: 0 / 1.177 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.007364/1.365, allocations: 1.621 MB / 1.178 GB, free: 10.59 MB / 0.8887 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.0119/1.377, allocations: 1.888 MB / 1.18 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008786/1.378, allocations: 330.1 kB / 1.181 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.378, allocations: 0 / 1.181 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003123/1.378, allocations: 246.5 kB / 1.181 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/1.379, allocations: 68.45 kB / 1.181 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/1.38, allocations: 0.6338 MB / 1.182 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/1.38, allocations: 0.7697 MB / 1.182 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004936/1.381, allocations: 406.3 kB / 1.183 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/1.381, allocations: 50.59 kB / 1.183 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/1.381, allocations: 0 / 1.183 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of Templates: time 0.07773/1.459, allocations: 57 MB / 1.238 GB, free: 0.6211 MB / 0.9356 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches