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.00215/0.00215, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.002554/0.002554, allocations: 164.9 kB / 22.46 MB, free: 5.359 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.55/1.55, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.75/2.75, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 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.883e-06/1.883e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.59e-05, allocations: 4.531 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1727/0.1727, allocations: 119.2 MB / 1.067 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.1836, allocations: 7.227 MB / 1.074 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.1837, allocations: 0 / 1.074 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1839, allocations: 23.78 kB / 1.074 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.184, allocations: 19.84 kB / 1.074 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.1883, allocations: 1.477 MB / 1.076 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1884, allocations: 75.58 kB / 1.076 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.1885, allocations: 4 kB / 1.076 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.1887, allocations: 59.88 kB / 1.076 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1888, allocations: 27.95 kB / 1.076 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1888, allocations: 4 kB / 1.076 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005102/0.1939, allocations: 2.621 MB / 1.079 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.1939, allocations: 7.984 kB / 1.079 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.194, allocations: 31.91 kB / 1.079 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.1974, allocations: 1.801 MB / 1.08 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.1974, allocations: 0 / 1.08 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1974, allocations: 0 / 1.08 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.1974, allocations: 0 / 1.08 GB, free: 6.559 MB / 0.9825 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.001475/0.1989, allocations: 429.2 kB / 1.081 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1989, allocations: 8.031 kB / 1.081 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/0.1994, allocations: 28.86 kB / 1.081 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1995, allocations: 113.7 kB / 1.081 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1996, allocations: 59.97 kB / 1.081 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.1997, allocations: 4.375 kB / 1.081 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.2001, allocations: 151.6 kB / 1.081 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2001, allocations: 0 / 1.081 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.2002, allocations: 0 / 1.081 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2002, allocations: 8 kB / 1.081 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.2005, allocations: 115.9 kB / 1.081 GB, free: 5.582 MB / 0.9825 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.0005888/0.2011, allocations: 272.3 kB / 1.082 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.2014, allocations: 126.5 kB / 1.082 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2016, allocations: 48.78 kB / 1.082 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/0.2138, allocations: 3.036 MB / 1.085 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.2138, allocations: 34.56 kB / 1.085 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.2138, allocations: 0 / 1.085 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0006559/0.2145, allocations: 175.8 kB / 1.085 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.2145, allocations: 51.41 kB / 1.085 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2146, allocations: 101.8 kB / 1.085 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2147, allocations: 29.7 kB / 1.085 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.2147, allocations: 80.14 kB / 1.085 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.2148, allocations: 47.58 kB / 1.085 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.2149, allocations: 25.72 kB / 1.085 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.215, allocations: 318.8 kB / 1.085 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.2151, allocations: 23.98 kB / 1.085 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.2152, allocations: 27.98 kB / 1.086 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2153, allocations: 70.8 kB / 1.086 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2153, allocations: 4 kB / 1.086 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002286/0.2155, allocations: 113.6 kB / 1.086 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2156, allocations: 4 kB / 1.086 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2156, allocations: 0 / 1.086 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2156, allocations: 0 / 1.086 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2157, allocations: 27.98 kB / 1.086 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.2157, allocations: 0 / 1.086 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.2158, allocations: 11.94 kB / 1.086 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.2158, allocations: 4 kB / 1.086 GB, free: 0.8633 MB / 0.9825 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.0001062/0.2159, allocations: 121.7 kB / 1.086 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.216, allocations: 11.94 kB / 1.086 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.2165, allocations: 388 kB / 1.086 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.2165, allocations: 4 kB / 1.086 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2165, allocations: 0 / 1.086 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.2165, allocations: 3.984 kB / 1.086 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.2168, allocations: 213.1 kB / 1.086 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2168, allocations: 4 kB / 1.086 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.2169, allocations: 23.92 kB / 1.086 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2169, allocations: 0 / 1.086 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2169, allocations: 4 kB / 1.086 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2169, allocations: 8 kB / 1.086 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2169, allocations: 0 / 1.086 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.2174, allocations: 327.3 kB / 1.087 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.2174, allocations: 39.69 kB / 1.087 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.2175, allocations: 0 / 1.087 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2176, allocations: 8 kB / 1.087 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.2176, allocations: 11.97 kB / 1.087 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.2177, allocations: 4 kB / 1.087 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.2177, allocations: 83.28 kB / 1.087 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.2177, allocations: 0 / 1.087 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001034/0.2187, allocations: 299.7 kB / 1.087 GB, free: 15.28 MB / 0.9981 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.001679/0.2204, allocations: 469.4 kB / 1.088 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.2207, allocations: 116 kB / 1.088 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2207, allocations: 4 kB / 1.088 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.2208, allocations: 91.84 kB / 1.088 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2212, allocations: 23.92 kB / 1.088 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.2218, allocations: 306 kB / 1.088 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2219, allocations: 106.4 kB / 1.088 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.222, allocations: 32.39 kB / 1.088 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.222, allocations: 20.5 kB / 1.088 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.2221, allocations: 0 / 1.088 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of Templates: time 0.01752/0.2396, allocations: 9.881 MB / 1.098 GB, free: 4.223 MB / 0.9981 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: 9.28007485717535]