Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001481/0.001481, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001631/0.001631, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.773/2.773, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.12e-05, allocations: 6.312 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.178/0.178, allocations: 119.2 MB / 0.9027 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.1895, allocations: 7.216 MB / 0.9098 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.1896, allocations: 4 kB / 0.9098 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.1898, allocations: 27.78 kB / 0.9098 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.1899, allocations: 19.78 kB / 0.9098 GB, free: 14 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.1944, allocations: 1.475 MB / 0.9113 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1945, allocations: 79.58 kB / 0.9113 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.1946, allocations: 4 kB / 0.9113 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1948, allocations: 59.81 kB / 0.9114 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1949, allocations: 23.95 kB / 0.9114 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1949, allocations: 4 kB / 0.9114 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005491/0.2004, allocations: 2.625 MB / 0.914 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.2004, allocations: 11.97 kB / 0.914 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 6.414e-05/0.2005, allocations: 27.91 kB / 0.914 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.2042, allocations: 1.797 MB / 0.9158 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2042, allocations: 0 / 0.9158 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2042, allocations: 0 / 0.9158 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2042, allocations: 0 / 0.9158 GB, free: 7.879 MB / 0.8698 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.001251/0.2054, allocations: 429.2 kB / 0.9162 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2055, allocations: 8.031 kB / 0.9162 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.2059, allocations: 60.56 kB / 0.9162 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.2061, allocations: 109.7 kB / 0.9164 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.369e-05/0.2062, allocations: 59.97 kB / 0.9164 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.2062, allocations: 8.312 kB / 0.9164 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.2066, allocations: 154.8 kB / 0.9166 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2066, allocations: 0 / 0.9166 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2067, allocations: 3.984 kB / 0.9166 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2067, allocations: 4 kB / 0.9166 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.207, allocations: 119.8 kB / 0.9167 GB, free: 6.867 MB / 0.8698 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.0005329/0.2075, allocations: 268.4 kB / 0.9169 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.2078, allocations: 122.5 kB / 0.9171 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.514e-05/0.2079, allocations: 40.84 kB / 0.9171 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.2199, allocations: 3.043 MB / 0.9201 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.2199, allocations: 34.56 kB / 0.9201 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2199, allocations: 4 kB / 0.9201 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0006367/0.2206, allocations: 179.7 kB / 0.9203 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.2206, allocations: 51.41 kB / 0.9203 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.2207, allocations: 101.8 kB / 0.9204 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.2207, allocations: 29.7 kB / 0.9205 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.2208, allocations: 80.14 kB / 0.9205 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.2209, allocations: 51.53 kB / 0.9206 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.2209, allocations: 29.7 kB / 0.9206 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.2211, allocations: 314.8 kB / 0.9209 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.2212, allocations: 23.98 kB / 0.9209 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.2212, allocations: 31.98 kB / 0.921 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.2214, allocations: 71.91 kB / 0.921 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2214, allocations: 0 / 0.921 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002366/0.2216, allocations: 117.6 kB / 0.9211 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2216, allocations: 4 kB / 0.9211 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2216, allocations: 0 / 0.9211 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.2216, allocations: 4 kB / 0.9212 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2218, allocations: 19.98 kB / 0.9212 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2218, allocations: 0 / 0.9212 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.2218, allocations: 7.953 kB / 0.9212 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2219, allocations: 4 kB / 0.9212 GB, free: 2.156 MB / 0.8698 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 0.000111/0.222, allocations: 129.7 kB / 0.9213 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.222, allocations: 15.89 kB / 0.9213 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.2226, allocations: 380.1 kB / 0.9217 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.2226, allocations: 11.98 kB / 0.9217 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2226, allocations: 0 / 0.9217 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2226, allocations: 0 / 0.9217 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.223, allocations: 221 kB / 0.9219 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.223, allocations: 0 / 0.9219 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.2232, allocations: 23.92 kB / 0.9219 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2232, allocations: 0 / 0.9219 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2232, allocations: 12 kB / 0.9219 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2232, allocations: 0 / 0.9219 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2232, allocations: 0 / 0.9219 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.2236, allocations: 343.2 kB / 0.9223 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.2237, allocations: 23.83 kB / 0.9223 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.2237, allocations: 4 kB / 0.9223 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2239, allocations: 7.984 kB / 0.9223 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.2239, allocations: 11.98 kB / 0.9223 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2239, allocations: 4 kB / 0.9223 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.224, allocations: 87.44 kB / 0.9224 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.224, allocations: 0 / 0.9224 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001012/0.225, allocations: 311.6 kB / 0.9227 GB, free: 0.5391 MB / 0.8698 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.001698/0.2267, allocations: 446.6 kB / 0.9231 GB, free: 92 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.227, allocations: 124 kB / 0.9232 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.227, allocations: 3.938 kB / 0.9232 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.2271, allocations: 87.95 kB / 0.9233 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.2275, allocations: 33.47 kB / 0.9234 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.2282, allocations: 320.5 kB / 0.9237 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.2283, allocations: 102.1 kB / 0.9238 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.2284, allocations: 28.41 kB / 0.9238 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.2285, allocations: 16.5 kB / 0.9238 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of SimCode: time 3.7e-07/0.2285, allocations: 4 kB / 0.9238 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.01987/0.2483, allocations: 10.04 MB / 0.9336 GB, free: 5.336 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.500086214044131]