Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 186.5 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.89 kB / 1.061 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9457/0.9477, allocations: 160.8 MB / 1.218 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1896/1.137, allocations: 136 MB / 1.351 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01477/1.152, allocations: 7.982 MB / 1.359 GB, free: 6.805 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/1.152, allocations: 3.938 kB / 1.359 GB, free: 6.801 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002741/1.152, allocations: 31.83 kB / 1.359 GB, free: 6.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/1.153, allocations: 15.86 kB / 1.359 GB, free: 6.754 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006634/1.159, allocations: 1.47 MB / 1.361 GB, free: 5.289 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/1.159, allocations: 71.66 kB / 1.361 GB, free: 5.219 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.624e-05/1.16, allocations: 11.98 kB / 1.361 GB, free: 5.207 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/1.16, allocations: 43.84 kB / 1.361 GB, free: 5.164 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/1.16, allocations: 35.83 kB / 1.361 GB, free: 5.129 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/1.16, allocations: 4 kB / 1.361 GB, free: 5.125 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006616/1.167, allocations: 2.704 MB / 1.363 GB, free: 2.418 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/1.167, allocations: 15.92 kB / 1.363 GB, free: 2.402 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.025e-05/1.167, allocations: 31.86 kB / 1.363 GB, free: 2.371 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/1.171, allocations: 1.384 MB / 1.365 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.171, allocations: 0 / 1.365 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/1.171, allocations: 0 / 1.365 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.171, allocations: 4 kB / 1.365 GB, free: 0.9805 MB / 1.061 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.001544/1.172, allocations: 0.5004 MB / 1.365 GB, free: 444 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.172, allocations: 8.031 kB / 1.365 GB, free: 436 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004774/1.173, allocations: 24.88 kB / 1.365 GB, free: 412 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/1.173, allocations: 164.4 kB / 1.365 GB, free: 208 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/1.173, allocations: 34.2 kB / 1.365 GB, free: 168 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/1.173, allocations: 11.94 kB / 1.365 GB, free: 156 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/1.173, allocations: 125.5 kB / 1.366 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.173, allocations: 0 / 1.366 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/1.174, allocations: 4 kB / 1.366 GB, free: 20 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.174, allocations: 4 kB / 1.366 GB, free: 16 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/1.174, allocations: 119.8 kB / 1.366 GB, free: 15.9 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.0006735/1.175, allocations: 380 kB / 1.366 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/1.175, allocations: 118.6 kB / 1.366 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/1.175, allocations: 44.84 kB / 1.366 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01241/1.187, allocations: 4.23 MB / 1.37 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/1.187, allocations: 38.5 kB / 1.37 GB, free: 10.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 2.444e-06/1.187, allocations: 0 / 1.37 GB, free: 10.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0006363/1.188, allocations: 159.3 kB / 1.371 GB, free: 10.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.188, allocations: 55.41 kB / 1.371 GB, free: 10.47 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/1.188, allocations: 101.8 kB / 1.371 GB, free: 10.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/1.188, allocations: 33.7 kB / 1.371 GB, free: 10.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/1.188, allocations: 84.14 kB / 1.371 GB, free: 10.24 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/1.188, allocations: 43.59 kB / 1.371 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/1.188, allocations: 29.7 kB / 1.371 GB, free: 10.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.189, allocations: 322.8 kB / 1.371 GB, free: 9.836 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/1.189, allocations: 23.98 kB / 1.371 GB, free: 9.812 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/1.189, allocations: 31.92 kB / 1.371 GB, free: 9.781 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/1.189, allocations: 67.22 kB / 1.371 GB, free: 9.715 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.189, allocations: 0 / 1.371 GB, free: 9.715 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002227/1.189, allocations: 109.7 kB / 1.371 GB, free: 9.602 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.189, allocations: 12 kB / 1.371 GB, free: 9.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.189, allocations: 3.938 kB / 1.371 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/1.189, allocations: 0 / 1.371 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/1.189, allocations: 23.92 kB / 1.371 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/1.189, allocations: 0 / 1.371 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/1.189, allocations: 19.83 kB / 1.371 GB, free: 9.543 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/1.189, allocations: 4 kB / 1.371 GB, free: 9.539 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 0.0001041/1.189, allocations: 109.8 kB / 1.372 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/1.189, allocations: 12.14 kB / 1.372 GB, free: 9.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/1.19, allocations: 384.1 kB / 1.372 GB, free: 9.027 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/1.19, allocations: 11.98 kB / 1.372 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.19, allocations: 0 / 1.372 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/1.19, allocations: 3.938 kB / 1.372 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/1.19, allocations: 281.4 kB / 1.372 GB, free: 8.688 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.19, allocations: 0 / 1.372 GB, free: 8.688 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.191, allocations: 19.98 kB / 1.372 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/1.191, allocations: 4 kB / 1.372 GB, free: 8.664 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/1.191, allocations: 4 kB / 1.372 GB, free: 8.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.191, allocations: 0 / 1.372 GB, free: 8.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.191, allocations: 7.938 kB / 1.372 GB, free: 8.652 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/1.191, allocations: 350.8 kB / 1.373 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/1.191, allocations: 96.98 kB / 1.373 GB, free: 8.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/1.191, allocations: 8 kB / 1.373 GB, free: 8.172 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/1.191, allocations: 3.984 kB / 1.373 GB, free: 8.168 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/1.191, allocations: 7.984 kB / 1.373 GB, free: 8.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/1.191, allocations: 15.92 kB / 1.373 GB, free: 8.145 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.413e-05/1.192, allocations: 83.28 kB / 1.373 GB, free: 8.062 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.192, allocations: 0 / 1.373 GB, free: 8.062 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001264/1.193, allocations: 303.6 kB / 1.373 GB, free: 7.766 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.001877/1.195, allocations: 402.7 kB / 1.373 GB, free: 7.359 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002765/1.195, allocations: 122 kB / 1.374 GB, free: 7.242 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.195, allocations: 4 kB / 1.374 GB, free: 7.238 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.195, allocations: 91.91 kB / 1.374 GB, free: 7.148 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/1.195, allocations: 19.92 kB / 1.374 GB, free: 7.129 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/1.196, allocations: 310.1 kB / 1.374 GB, free: 6.801 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/1.196, allocations: 0.7165 MB / 1.375 GB, free: 6.059 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001282/1.197, allocations: 32.34 kB / 1.375 GB, free: 6.027 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/1.197, allocations: 15.44 kB / 1.375 GB, free: 6.012 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/1.197, allocations: 0 / 1.375 GB, free: 6.012 MB / 1.076 GB Notification: Performance of Templates: time 0.02009/1.217, allocations: 9.965 MB / 1.384 GB, free: 12.05 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.517448123544455]