Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001965/0.001965, allocations: 106.7 kB / 16.45 MB, free: 5.91 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.002732/0.002732, allocations: 217.6 kB / 19.43 MB, free: 3.602 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.544/1.544, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.366/3.366, allocations: 0.4899 GB / 0.7915 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 66.38 kB / 1.149 GB, free: 26.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4159, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1811/0.597, allocations: 138.8 MB / 1.457 GB, free: 7.52 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.6074, allocations: 8.006 MB / 1.465 GB, free: 15.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.384e-05/0.6075, allocations: 4 kB / 1.465 GB, free: 15.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.6078, allocations: 23.89 kB / 1.465 GB, free: 15.45 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.782e-05/0.6078, allocations: 23.77 kB / 1.465 GB, free: 15.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004549/0.6124, allocations: 1.472 MB / 1.466 GB, free: 13.96 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.6126, allocations: 75.7 kB / 1.466 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.6126, allocations: 4 kB / 1.466 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.6128, allocations: 55.7 kB / 1.466 GB, free: 13.82 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.6129, allocations: 27.91 kB / 1.466 GB, free: 13.8 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.6129, allocations: 4 kB / 1.466 GB, free: 13.79 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004825/0.6177, allocations: 2.717 MB / 1.469 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.6178, allocations: 15.92 kB / 1.469 GB, free: 11.06 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.6178, allocations: 31.86 kB / 1.469 GB, free: 11.03 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.6202, allocations: 1.392 MB / 1.47 GB, free: 9.633 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6202, allocations: 3.938 kB / 1.47 GB, free: 9.629 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.016e-06/0.6202, allocations: 0 / 1.47 GB, free: 9.629 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.6203, allocations: 0 / 1.47 GB, free: 9.629 MB / 1.17 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.00121/0.6215, allocations: 0.4984 MB / 1.471 GB, free: 9.082 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6215, allocations: 19.92 kB / 1.471 GB, free: 9.062 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.6219, allocations: 28.86 kB / 1.471 GB, free: 9.035 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.6221, allocations: 164.3 kB / 1.471 GB, free: 8.836 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.6222, allocations: 34.27 kB / 1.471 GB, free: 8.797 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.6222, allocations: 7.938 kB / 1.471 GB, free: 8.789 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.6226, allocations: 128.3 kB / 1.471 GB, free: 8.66 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.6226, allocations: 7.875 kB / 1.471 GB, free: 8.652 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.6226, allocations: 0 / 1.471 GB, free: 8.652 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.6226, allocations: 4 kB / 1.471 GB, free: 8.648 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.6229, allocations: 119.9 kB / 1.471 GB, free: 8.531 MB / 1.17 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.0005876/0.6235, allocations: 380.1 kB / 1.472 GB, free: 8.098 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.6238, allocations: 110.6 kB / 1.472 GB, free: 7.98 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.495e-05/0.6239, allocations: 48.77 kB / 1.472 GB, free: 7.93 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0133/0.6372, allocations: 4.681 MB / 1.476 GB, free: 2.84 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.6372, allocations: 34.56 kB / 1.476 GB, free: 2.797 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.6372, allocations: 0 / 1.476 GB, free: 2.797 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0006262/0.6378, allocations: 161.6 kB / 1.477 GB, free: 2.633 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.6379, allocations: 55.41 kB / 1.477 GB, free: 2.566 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.638, allocations: 101.8 kB / 1.477 GB, free: 2.457 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.638, allocations: 25.7 kB / 1.477 GB, free: 2.426 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.6381, allocations: 88.14 kB / 1.477 GB, free: 2.336 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.6381, allocations: 43.64 kB / 1.477 GB, free: 2.293 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.6382, allocations: 25.72 kB / 1.477 GB, free: 2.262 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6383, allocations: 322.8 kB / 1.477 GB, free: 1.938 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-05/0.6384, allocations: 27.92 kB / 1.477 GB, free: 1.91 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.6384, allocations: 26.11 kB / 1.477 GB, free: 1.887 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.6386, allocations: 72.86 kB / 1.477 GB, free: 1.812 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6386, allocations: 3.984 kB / 1.477 GB, free: 1.809 MB / 1.17 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002084/0.6388, allocations: 103.3 kB / 1.477 GB, free: 1.703 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.6388, allocations: 7.984 kB / 1.477 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6388, allocations: 4 kB / 1.477 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.6388, allocations: 4 kB / 1.477 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.639, allocations: 23.92 kB / 1.477 GB, free: 1.664 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.639, allocations: 3.938 kB / 1.477 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.6391, allocations: 11.83 kB / 1.477 GB, free: 1.648 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.6391, allocations: 8 kB / 1.477 GB, free: 1.641 MB / 1.17 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.0001043/0.6392, allocations: 113.8 kB / 1.478 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.6392, allocations: 4.188 kB / 1.478 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.6398, allocations: 383.9 kB / 1.478 GB, free: 1.133 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.6398, allocations: 11.97 kB / 1.478 GB, free: 1.121 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6398, allocations: 0 / 1.478 GB, free: 1.121 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6398, allocations: 3.938 kB / 1.478 GB, free: 1.117 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.6401, allocations: 281.4 kB / 1.478 GB, free: 0.793 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6401, allocations: 0 / 1.478 GB, free: 0.793 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.6402, allocations: 19.98 kB / 1.478 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.6402, allocations: 0 / 1.478 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.6403, allocations: 4 kB / 1.478 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6403, allocations: 4 kB / 1.478 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6403, allocations: 4 kB / 1.478 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.6407, allocations: 338.9 kB / 1.479 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/0.6408, allocations: 100.9 kB / 1.479 GB, free: 304 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.6408, allocations: 4 kB / 1.479 GB, free: 300 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.6409, allocations: 11.98 kB / 1.479 GB, free: 288 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.641, allocations: 7.984 kB / 1.479 GB, free: 280 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.641, allocations: 7.938 kB / 1.479 GB, free: 272 kB / 1.17 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.641, allocations: 83.28 kB / 1.479 GB, free: 188 kB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.641, allocations: 0 / 1.479 GB, free: 188 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.001108/0.6421, allocations: 307.8 kB / 1.479 GB, free: 15.88 MB / 1.186 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.001357/0.6435, allocations: 410.6 kB / 1.479 GB, free: 15.47 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.6438, allocations: 119.9 kB / 1.48 GB, free: 15.35 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6438, allocations: 4 kB / 1.48 GB, free: 15.35 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.6439, allocations: 83.91 kB / 1.48 GB, free: 15.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.6442, allocations: 21.69 kB / 1.48 GB, free: 15.25 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.6448, allocations: 316.1 kB / 1.48 GB, free: 14.91 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.6451, allocations: 0.7166 MB / 1.481 GB, free: 14.17 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.6452, allocations: 28.34 kB / 1.481 GB, free: 14.14 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.6453, allocations: 19.44 kB / 1.481 GB, free: 14.12 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.6453, allocations: 0 / 1.481 GB, free: 14.12 MB / 1.186 GB Notification: Performance of Templates: time 0.01701/0.6623, allocations: 9.88 MB / 1.49 GB, free: 4.246 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.045131615828723]