Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 159.9 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.038/3.038, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.244e-05, allocations: 6.219 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1785/0.1785, allocations: 119.2 MB / 1.116 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.1907, allocations: 7.212 MB / 1.124 GB, free: 8.445 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.1908, allocations: 0 / 1.124 GB, free: 8.445 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.1912, allocations: 31.77 kB / 1.124 GB, free: 8.414 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.1913, allocations: 19.8 kB / 1.124 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007532/0.1988, allocations: 1.473 MB / 1.125 GB, free: 6.922 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1991, allocations: 83.56 kB / 1.125 GB, free: 6.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.896e-05/0.1991, allocations: 7.984 kB / 1.125 GB, free: 6.832 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1993, allocations: 55.81 kB / 1.125 GB, free: 6.777 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1995, allocations: 27.89 kB / 1.125 GB, free: 6.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1995, allocations: 4 kB / 1.125 GB, free: 6.746 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00656/0.206, allocations: 2.614 MB / 1.128 GB, free: 4.129 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.2061, allocations: 15.97 kB / 1.128 GB, free: 4.113 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.2061, allocations: 23.91 kB / 1.128 GB, free: 4.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004767/0.2109, allocations: 1.797 MB / 1.13 GB, free: 2.289 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.2109, allocations: 0 / 1.13 GB, free: 2.289 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2109, allocations: 0 / 1.13 GB, free: 2.289 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2109, allocations: 7.938 kB / 1.13 GB, free: 2.281 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002066/0.213, allocations: 429.2 kB / 1.13 GB, free: 1.832 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.2131, allocations: 8.031 kB / 1.13 GB, free: 1.824 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/0.2135, allocations: 24.92 kB / 1.13 GB, free: 1.801 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.2137, allocations: 113.7 kB / 1.13 GB, free: 1.664 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.2138, allocations: 55.97 kB / 1.13 GB, free: 1.598 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2139, allocations: 16.31 kB / 1.13 GB, free: 1.582 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.2144, allocations: 155.5 kB / 1.13 GB, free: 1.418 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2144, allocations: 0 / 1.13 GB, free: 1.418 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.2144, allocations: 4 kB / 1.13 GB, free: 1.414 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2145, allocations: 0 / 1.13 GB, free: 1.414 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.2148, allocations: 119.8 kB / 1.13 GB, free: 1.297 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.2155, allocations: 264.5 kB / 1.131 GB, free: 1.008 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.2159, allocations: 126.4 kB / 1.131 GB, free: 0.875 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.417e-05/0.216, allocations: 52.81 kB / 1.131 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6242/0.8402, allocations: 3.04 MB / 1.134 GB, free: 176.1 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.8402, allocations: 33.44 kB / 1.134 GB, free: 176 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.8402, allocations: 0 / 1.134 GB, free: 176 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0005505/0.8408, allocations: 162 kB / 1.134 GB, free: 176 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.8408, allocations: 59 kB / 1.134 GB, free: 175.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.711e-05/0.8409, allocations: 95.55 kB / 1.134 GB, free: 175.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.8409, allocations: 29.2 kB / 1.134 GB, free: 175.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.8409, allocations: 88.38 kB / 1.134 GB, free: 175.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.8409, allocations: 49.7 kB / 1.134 GB, free: 175.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.841, allocations: 25.81 kB / 1.134 GB, free: 175.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.841, allocations: 318.3 kB / 1.135 GB, free: 175.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.8411, allocations: 26.64 kB / 1.135 GB, free: 175.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.276e-05/0.8411, allocations: 27.44 kB / 1.135 GB, free: 175.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.8412, allocations: 73.92 kB / 1.135 GB, free: 175.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8412, allocations: 0 / 1.135 GB, free: 175.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001589/0.8414, allocations: 111 kB / 1.135 GB, free: 175.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.8414, allocations: 8.953 kB / 1.135 GB, free: 175.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8414, allocations: 0 / 1.135 GB, free: 175.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.8414, allocations: 2.844 kB / 1.135 GB, free: 175.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.8415, allocations: 20.75 kB / 1.135 GB, free: 175.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.8415, allocations: 0 / 1.135 GB, free: 175.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.8416, allocations: 14.28 kB / 1.135 GB, free: 175.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.8416, allocations: 6.75 kB / 1.135 GB, free: 175.3 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 5.89e-05/0.8417, allocations: 117.2 kB / 1.135 GB, free: 175.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.8417, allocations: 13.91 kB / 1.135 GB, free: 175.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.8421, allocations: 378.3 kB / 1.135 GB, free: 175 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.8421, allocations: 5.938 kB / 1.135 GB, free: 175 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8421, allocations: 0 / 1.135 GB, free: 175 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8421, allocations: 0 / 1.135 GB, free: 175 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.8423, allocations: 216.8 kB / 1.136 GB, free: 174.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8423, allocations: 0 / 1.136 GB, free: 174.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.506e-05/0.8424, allocations: 34.56 kB / 1.136 GB, free: 174.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8424, allocations: 0 / 1.136 GB, free: 174.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.8424, allocations: 2.5 kB / 1.136 GB, free: 174.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.8424, allocations: 0 / 1.136 GB, free: 174.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8424, allocations: 3.469 kB / 1.136 GB, free: 174.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.8427, allocations: 337.2 kB / 1.136 GB, free: 174.6 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.8428, allocations: 27.88 kB / 1.136 GB, free: 174.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.8428, allocations: 10.28 kB / 1.136 GB, free: 174.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.8429, allocations: 2.531 kB / 1.136 GB, free: 174.6 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.8429, allocations: 14.19 kB / 1.136 GB, free: 174.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.843, allocations: 11.75 kB / 1.136 GB, free: 174.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.843, allocations: 81.58 kB / 1.136 GB, free: 174.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.843, allocations: 0 / 1.136 GB, free: 174.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008883/0.8439, allocations: 307.5 kB / 1.136 GB, free: 174.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001261/0.8451, allocations: 446.9 kB / 1.137 GB, free: 174.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.8453, allocations: 118 kB / 1.137 GB, free: 174.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8453, allocations: 2.844 kB / 1.137 GB, free: 174.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.8454, allocations: 89.34 kB / 1.137 GB, free: 174.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.8457, allocations: 23.53 kB / 1.137 GB, free: 174.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.8463, allocations: 313.5 kB / 1.137 GB, free: 174.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.891e-05/0.8463, allocations: 101.2 kB / 1.137 GB, free: 174 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.587e-05/0.8464, allocations: 28.31 kB / 1.137 GB, free: 174 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.8465, allocations: 24.08 kB / 1.137 GB, free: 174 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.8465, allocations: 0 / 1.137 GB, free: 174 MB / 1.076 GB Notification: Performance of Templates: time 0.01297/0.8594, allocations: 9.889 MB / 1.147 GB, free: 173.4 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.6813921071589]