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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 443.5 MB / 0.731 GB, free: 14.03 MB / 0.5763 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=503,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=503,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.002022/0.002022, allocations: 71.88 kB / 1.06 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2988, allocations: 160.7 MB / 1.217 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.7325/1.031, allocations: 135.9 MB / 1.349 GB, free: 1.188 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01103/1.042, allocations: 7.946 MB / 1.357 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/1.042, allocations: 0 / 1.357 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/1.043, allocations: 28.84 kB / 1.357 GB, free: 11.72 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/1.043, allocations: 17.12 kB / 1.357 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005195/1.048, allocations: 1.471 MB / 1.359 GB, free: 11.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/1.048, allocations: 77.52 kB / 1.359 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/1.048, allocations: 7.312 kB / 1.359 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/1.048, allocations: 47.22 kB / 1.359 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/1.048, allocations: 27.64 kB / 1.359 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/1.048, allocations: 6.625 kB / 1.359 GB, free: 11.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005348/1.054, allocations: 2.706 MB / 1.361 GB, free: 10.43 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/1.054, allocations: 18.09 kB / 1.361 GB, free: 10.42 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/1.054, allocations: 30.31 kB / 1.361 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/1.057, allocations: 1.376 MB / 1.363 GB, free: 10.07 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.057, allocations: 6.328 kB / 1.363 GB, free: 10.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/1.057, allocations: 3.938 kB / 1.363 GB, free: 10.06 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.878e-06/1.057, allocations: 5.125 kB / 1.363 GB, free: 10.06 MB / 1.045 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.001409/1.058, allocations: 0.4926 MB / 1.363 GB, free: 9.629 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/1.058, allocations: 8.688 kB / 1.363 GB, free: 9.629 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/1.059, allocations: 22.78 kB / 1.363 GB, free: 9.625 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.059, allocations: 168.8 kB / 1.363 GB, free: 9.426 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/1.059, allocations: 34.14 kB / 1.363 GB, free: 9.391 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/1.059, allocations: 9.469 kB / 1.363 GB, free: 9.387 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/1.059, allocations: 122.2 kB / 1.364 GB, free: 9.328 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.059, allocations: 5.656 kB / 1.364 GB, free: 9.324 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.059, allocations: 8.438 kB / 1.364 GB, free: 9.316 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.059, allocations: 1.625 kB / 1.364 GB, free: 9.316 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/1.059, allocations: 118.3 kB / 1.364 GB, free: 9.289 MB / 1.045 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.0005107/1.06, allocations: 376.8 kB / 1.364 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/1.06, allocations: 114.6 kB / 1.364 GB, free: 8.867 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/1.06, allocations: 49.16 kB / 1.364 GB, free: 8.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/1.072, allocations: 4.227 MB / 1.368 GB, free: 6.746 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/1.072, allocations: 43.83 kB / 1.368 GB, free: 6.695 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/1.072, allocations: 0 / 1.368 GB, free: 6.695 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005772/1.073, allocations: 160.9 kB / 1.369 GB, free: 6.605 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/1.073, allocations: 52.5 kB / 1.369 GB, free: 6.543 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/1.073, allocations: 99.53 kB / 1.369 GB, free: 6.441 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/1.073, allocations: 29.7 kB / 1.369 GB, free: 6.406 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/1.073, allocations: 81.77 kB / 1.369 GB, free: 6.324 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/1.073, allocations: 48.81 kB / 1.369 GB, free: 6.281 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/1.073, allocations: 29.86 kB / 1.369 GB, free: 6.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.073, allocations: 319.8 kB / 1.369 GB, free: 5.934 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/1.073, allocations: 32.86 kB / 1.369 GB, free: 5.918 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.384e-05/1.073, allocations: 30.61 kB / 1.369 GB, free: 5.902 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/1.073, allocations: 65.34 kB / 1.369 GB, free: 5.867 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.073, allocations: 0 / 1.369 GB, free: 5.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001988/1.074, allocations: 106.3 kB / 1.369 GB, free: 5.805 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.074, allocations: 7.312 kB / 1.369 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.074, allocations: 0 / 1.369 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.074, allocations: 1.281 kB / 1.369 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/1.074, allocations: 29.17 kB / 1.369 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.074, allocations: 5.344 kB / 1.369 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/1.074, allocations: 12.98 kB / 1.369 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/1.074, allocations: 6.812 kB / 1.369 GB, free: 5.773 MB / 1.045 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.0001014/1.074, allocations: 112.6 kB / 1.37 GB, free: 5.656 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/1.074, allocations: 8.047 kB / 1.37 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/1.075, allocations: 375.6 kB / 1.37 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.075, allocations: 6.516 kB / 1.37 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.075, allocations: 4 kB / 1.37 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.075, allocations: 1.344 kB / 1.37 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/1.075, allocations: 280.9 kB / 1.37 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.075, allocations: 1.312 kB / 1.37 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/1.075, allocations: 24.27 kB / 1.37 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.075, allocations: 1.062 kB / 1.37 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/1.075, allocations: 5.141 kB / 1.37 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.075, allocations: 4.094 kB / 1.37 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.075, allocations: 0 / 1.37 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/1.075, allocations: 346.6 kB / 1.371 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/1.076, allocations: 99.81 kB / 1.371 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/1.076, allocations: 5.219 kB / 1.371 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/1.076, allocations: 3.906 kB / 1.371 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/1.076, allocations: 12.08 kB / 1.371 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/1.076, allocations: 3.438 kB / 1.371 GB, free: 4.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.059e-05/1.076, allocations: 86.48 kB / 1.371 GB, free: 4.676 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/1.076, allocations: 0 / 1.371 GB, free: 4.676 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001181/1.077, allocations: 309.4 kB / 1.371 GB, free: 4.633 MB / 1.045 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.001794/1.079, allocations: 397.7 kB / 1.371 GB, free: 4.453 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002536/1.079, allocations: 128 kB / 1.372 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.079, allocations: 0 / 1.372 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/1.079, allocations: 86.5 kB / 1.372 GB, free: 4.355 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/1.079, allocations: 20.23 kB / 1.372 GB, free: 4.344 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/1.08, allocations: 338.9 kB / 1.372 GB, free: 4.086 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/1.08, allocations: 0.7165 MB / 1.373 GB, free: 3.375 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/1.081, allocations: 15.22 kB / 1.373 GB, free: 3.367 MB / 1.045 GB Notification: Performance of SimCode: time 4.2e-07/1.081, allocations: 0 / 1.373 GB, free: 3.367 MB / 1.045 GB Notification: Performance of Templates: time 0.01357/1.094, allocations: 6.755 MB / 1.379 GB, free: 15.87 MB / 1.061 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/jenkins1/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