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.001411/0.001411, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001706/0.001706, allocations: 214.9 kB / 22.25 MB, free: 4.855 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.682/1.682, allocations: 230.6 MB / 256 MB, free: 7.801 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.377/3.377, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 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.00219/0.00219, allocations: 70.98 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.405, allocations: 176.1 MB / 1.325 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1761/0.5812, allocations: 119.1 MB / 1.442 GB, free: 10.25 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.5919, allocations: 7.232 MB / 1.449 GB, free: 2.988 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.592, allocations: 0 / 1.449 GB, free: 2.988 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.5922, allocations: 27.89 kB / 1.449 GB, free: 2.961 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.5923, allocations: 19.78 kB / 1.449 GB, free: 2.941 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004585/0.5969, allocations: 1.463 MB / 1.45 GB, free: 1.48 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.5971, allocations: 71.72 kB / 1.45 GB, free: 1.41 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.5972, allocations: 7.984 kB / 1.45 GB, free: 1.402 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.5973, allocations: 43.84 kB / 1.45 GB, free: 1.359 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.5974, allocations: 39.83 kB / 1.451 GB, free: 1.32 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.5974, allocations: 0 / 1.451 GB, free: 1.32 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004973/0.6024, allocations: 2.614 MB / 1.453 GB, free: 14.7 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.6024, allocations: 15.92 kB / 1.453 GB, free: 14.69 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.6025, allocations: 27.91 kB / 1.453 GB, free: 14.66 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.6047, allocations: 1.388 MB / 1.454 GB, free: 13.27 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6047, allocations: 0 / 1.454 GB, free: 13.27 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6047, allocations: 0 / 1.454 GB, free: 13.27 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.6047, allocations: 0 / 1.454 GB, free: 13.27 MB / 1.154 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.0009955/0.6057, allocations: 441.2 kB / 1.455 GB, free: 12.81 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.6058, allocations: 8.031 kB / 1.455 GB, free: 12.8 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/0.6061, allocations: 24.86 kB / 1.455 GB, free: 12.78 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.6062, allocations: 114.4 kB / 1.455 GB, free: 12.64 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/0.6063, allocations: 59.97 kB / 1.455 GB, free: 12.57 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.6064, allocations: 7.938 kB / 1.455 GB, free: 12.56 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.6068, allocations: 143.3 kB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6068, allocations: 0 / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.6068, allocations: 8 kB / 1.455 GB, free: 12.4 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6068, allocations: 4 kB / 1.455 GB, free: 12.4 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.6072, allocations: 115.9 kB / 1.455 GB, free: 12.29 MB / 1.154 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.0006643/0.6078, allocations: 272.3 kB / 1.456 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.6082, allocations: 114.6 kB / 1.456 GB, free: 11.87 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.6084, allocations: 48.83 kB / 1.456 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/0.6262, allocations: 3.036 MB / 1.459 GB, free: 8.777 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/0.6262, allocations: 38.56 kB / 1.459 GB, free: 8.73 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 2.545e-06/0.6262, allocations: 0 / 1.459 GB, free: 8.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0008884/0.6271, allocations: 169.5 kB / 1.459 GB, free: 8.559 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.6272, allocations: 55.41 kB / 1.459 GB, free: 8.492 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.6273, allocations: 97.86 kB / 1.459 GB, free: 8.387 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.6273, allocations: 25.7 kB / 1.459 GB, free: 8.355 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.6274, allocations: 88.14 kB / 1.459 GB, free: 8.266 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.6275, allocations: 47.56 kB / 1.459 GB, free: 8.219 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.6276, allocations: 29.7 kB / 1.459 GB, free: 8.184 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.6278, allocations: 326.8 kB / 1.46 GB, free: 7.855 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.6278, allocations: 27.92 kB / 1.46 GB, free: 7.828 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.6279, allocations: 25 kB / 1.46 GB, free: 7.805 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.6281, allocations: 73.28 kB / 1.46 GB, free: 7.73 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6281, allocations: 3.938 kB / 1.46 GB, free: 7.727 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003051/0.6284, allocations: 111 kB / 1.46 GB, free: 7.613 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.6285, allocations: 8 kB / 1.46 GB, free: 7.605 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.6285, allocations: 0 / 1.46 GB, free: 7.605 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.6285, allocations: 0 / 1.46 GB, free: 7.605 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.6287, allocations: 19.98 kB / 1.46 GB, free: 7.586 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.6287, allocations: 0 / 1.46 GB, free: 7.586 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.6288, allocations: 11.95 kB / 1.46 GB, free: 7.574 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.6288, allocations: 7.984 kB / 1.46 GB, free: 7.566 MB / 1.154 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.0001565/0.6289, allocations: 122.2 kB / 1.46 GB, free: 7.438 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.629, allocations: 8 kB / 1.46 GB, free: 7.43 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007398/0.6297, allocations: 384 kB / 1.46 GB, free: 7.047 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.6298, allocations: 8 kB / 1.46 GB, free: 7.039 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6298, allocations: 0 / 1.46 GB, free: 7.039 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6298, allocations: 3.984 kB / 1.46 GB, free: 7.035 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.6302, allocations: 209.1 kB / 1.461 GB, free: 6.801 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6302, allocations: 0 / 1.461 GB, free: 6.801 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.6303, allocations: 23.92 kB / 1.461 GB, free: 6.777 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.6303, allocations: 4 kB / 1.461 GB, free: 6.773 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.6303, allocations: 7.984 kB / 1.461 GB, free: 6.766 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6303, allocations: 4 kB / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6303, allocations: 0 / 1.461 GB, free: 6.762 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.6309, allocations: 335 kB / 1.461 GB, free: 6.418 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.631, allocations: 31.81 kB / 1.461 GB, free: 6.387 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.631, allocations: 0 / 1.461 GB, free: 6.387 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.6312, allocations: 8 kB / 1.461 GB, free: 6.379 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.6313, allocations: 11.92 kB / 1.461 GB, free: 6.367 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.6313, allocations: 7.984 kB / 1.461 GB, free: 6.359 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.6314, allocations: 83.28 kB / 1.461 GB, free: 6.277 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.6314, allocations: 0 / 1.461 GB, free: 6.277 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00154/0.6329, allocations: 303.6 kB / 1.461 GB, free: 5.98 MB / 1.154 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.001873/0.6348, allocations: 407 kB / 1.462 GB, free: 5.574 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000382/0.6352, allocations: 127.8 kB / 1.462 GB, free: 5.449 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.303e-05/0.6352, allocations: 4 kB / 1.462 GB, free: 5.445 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.6354, allocations: 94.2 kB / 1.462 GB, free: 5.355 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.6359, allocations: 18.22 kB / 1.462 GB, free: 5.34 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.6368, allocations: 324.7 kB / 1.462 GB, free: 4.992 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.6369, allocations: 102.4 kB / 1.462 GB, free: 4.875 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00016/0.6371, allocations: 32.33 kB / 1.462 GB, free: 4.844 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.6372, allocations: 23.42 kB / 1.462 GB, free: 4.82 MB / 1.154 GB Notification: Performance of SimCode: time 6.61e-07/0.6372, allocations: 0 / 1.462 GB, free: 4.82 MB / 1.154 GB Notification: Performance of Templates: time 0.02494/0.6621, allocations: 9.952 MB / 1.472 GB, free: 10.88 MB / 1.17 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.300969135016203]