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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001193/0.001193, allocations: 103.6 kB / 16.41 MB, free: 6.508 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.001273/0.001273, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.384/1.384, 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.3-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.91 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.159, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.2043/1.364, allocations: 136.1 MB / 1.222 GB, free: 196 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03218/1.396, allocations: 22.34 MB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/1.396, allocations: 1.188 kB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004018/1.397, allocations: 43.44 kB / 1.243 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004838/1.397, allocations: 98.78 kB / 1.244 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.02565/1.423, allocations: 6.694 MB / 1.25 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005374/1.423, allocations: 247.9 kB / 1.25 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/1.423, allocations: 9.562 kB / 1.25 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/1.424, allocations: 139.4 kB / 1.25 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/1.424, allocations: 95.66 kB / 1.251 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/1.424, allocations: 8 kB / 1.251 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02721/1.451, allocations: 10.96 MB / 1.261 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/1.452, allocations: 35.89 kB / 1.261 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/1.452, allocations: 87.64 kB / 1.261 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02041/1.472, allocations: 6.152 MB / 1.267 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/1.472, allocations: 0 / 1.267 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.926e-06/1.472, allocations: 0 / 1.267 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.862e-05/1.472, allocations: 0 / 1.267 GB, free: 6.707 MB / 0.9981 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.004782/1.477, allocations: 1.185 MB / 1.269 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.477, allocations: 8.031 kB / 1.269 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/1.478, allocations: 88.66 kB / 1.269 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/1.479, allocations: 228.1 kB / 1.269 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/1.479, allocations: 12.12 kB / 1.269 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/1.479, allocations: 19.94 kB / 1.269 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/1.48, allocations: 464.4 kB / 1.269 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.481, allocations: 0 / 1.269 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/1.481, allocations: 12 kB / 1.269 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.481, allocations: 4 kB / 1.269 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/1.482, allocations: 0.5969 MB / 1.27 GB, free: 4 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/1.483, allocations: 0.8745 MB / 1.271 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008598/1.484, allocations: 258.1 kB / 1.271 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/1.484, allocations: 68.83 kB / 1.271 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09511/1.579, allocations: 35.43 MB / 1.306 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/1.579, allocations: 38.5 kB / 1.306 GB, free: 12.13 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 2.425e-06/1.579, allocations: 0 / 1.306 GB, free: 12.13 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001871/1.581, allocations: 419.7 kB / 1.306 GB, free: 11.72 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.581, allocations: 55.34 kB / 1.306 GB, free: 11.65 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/1.582, allocations: 137.8 kB / 1.306 GB, free: 11.51 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/1.582, allocations: 29.7 kB / 1.306 GB, free: 11.47 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/1.582, allocations: 116.3 kB / 1.306 GB, free: 11.35 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/1.582, allocations: 90.73 kB / 1.307 GB, free: 11.26 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.582, allocations: 77.66 kB / 1.307 GB, free: 11.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.582, allocations: 326.8 kB / 1.307 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/1.582, allocations: 79.95 kB / 1.307 GB, free: 10.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/1.583, allocations: 130.5 kB / 1.307 GB, free: 10.63 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/1.583, allocations: 215.5 kB / 1.307 GB, free: 10.4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.583, allocations: 0 / 1.307 GB, free: 10.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007453/1.584, allocations: 310.9 kB / 1.308 GB, free: 10.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.584, allocations: 4 kB / 1.308 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.584, allocations: 0 / 1.308 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.584, allocations: 4 kB / 1.308 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/1.584, allocations: 83.88 kB / 1.308 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.584, allocations: 7.984 kB / 1.308 GB, free: 9.996 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/1.584, allocations: 19.78 kB / 1.308 GB, free: 9.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/1.584, allocations: 23.98 kB / 1.308 GB, free: 9.953 MB / 1.045 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.0001454/1.585, allocations: 121.9 kB / 1.308 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/1.585, allocations: 23.81 kB / 1.308 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/1.588, allocations: 2.334 MB / 1.31 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/1.588, allocations: 11.98 kB / 1.31 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.588, allocations: 7.938 kB / 1.31 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.588, allocations: 7.922 kB / 1.31 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/1.591, allocations: 3.431 MB / 1.314 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.591, allocations: 0 / 1.314 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/1.592, allocations: 55.89 kB / 1.314 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/1.592, allocations: 4 kB / 1.314 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/1.592, allocations: 11.94 kB / 1.314 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/1.592, allocations: 3.938 kB / 1.314 GB, free: 3.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.592, allocations: 7.984 kB / 1.314 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008467/1.593, allocations: 0.5388 MB / 1.314 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/1.593, allocations: 144.5 kB / 1.314 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/1.593, allocations: 7.938 kB / 1.314 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/1.593, allocations: 19.92 kB / 1.314 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/1.593, allocations: 19.97 kB / 1.314 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/1.593, allocations: 19.98 kB / 1.314 GB, free: 3.023 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.117e-05/1.593, allocations: 105.8 kB / 1.314 GB, free: 2.922 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.593, allocations: 0 / 1.314 GB, free: 2.922 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004813/1.598, allocations: 1.62 MB / 1.316 GB, free: 1.301 MB / 1.045 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.009392/1.607, allocations: 1.884 MB / 1.318 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008158/1.608, allocations: 317.1 kB / 1.318 GB, free: 15.1 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.608, allocations: 3.938 kB / 1.318 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/1.609, allocations: 248.8 kB / 1.318 GB, free: 14.85 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/1.609, allocations: 67.89 kB / 1.318 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/1.611, allocations: 0.6595 MB / 1.319 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/1.611, allocations: 0.7699 MB / 1.32 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/1.611, allocations: 51.41 kB / 1.32 GB, free: 13.25 MB / 1.061 GB Notification: Performance of SimCode: time 7.12e-07/1.611, allocations: 0 / 1.32 GB, free: 13.25 MB / 1.061 GB Notification: Performance of Templates: time 0.05371/1.665, allocations: 31.4 MB / 1.351 GB, free: 13.82 MB / 1.092 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","/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