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.001732/0.001732, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001897/0.001897, allocations: 186 kB / 20.78 MB, free: 1.547 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.494/1.494, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 443.5 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] 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=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.002003/0.002003, allocations: 67.89 kB / 1.059 GB, free: 428 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3586, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.9062/1.265, allocations: 136 MB / 1.349 GB, free: 1.016 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01186/1.277, allocations: 7.994 MB / 1.357 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/1.277, allocations: 1.469 kB / 1.357 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002746/1.277, allocations: 23.77 kB / 1.357 GB, free: 11.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.708e-05/1.277, allocations: 17.67 kB / 1.357 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006188/1.283, allocations: 1.47 MB / 1.358 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/1.283, allocations: 72.34 kB / 1.358 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/1.284, allocations: 7.25 kB / 1.358 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/1.284, allocations: 40.55 kB / 1.358 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/1.284, allocations: 38.11 kB / 1.358 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/1.284, allocations: 7.375 kB / 1.358 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00629/1.29, allocations: 2.706 MB / 1.361 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/1.29, allocations: 10.5 kB / 1.361 GB, free: 10.24 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/1.29, allocations: 30.31 kB / 1.361 GB, free: 10.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003102/1.293, allocations: 1.381 MB / 1.362 GB, free: 9.883 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.293, allocations: 1.094 kB / 1.362 GB, free: 9.883 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.736e-06/1.293, allocations: 0 / 1.362 GB, free: 9.883 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.293, allocations: 0 / 1.362 GB, free: 9.883 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.001364/1.295, allocations: 0.5004 MB / 1.363 GB, free: 9.445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.295, allocations: 9.156 kB / 1.363 GB, free: 9.445 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004107/1.295, allocations: 29.98 kB / 1.363 GB, free: 9.438 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/1.295, allocations: 171.1 kB / 1.363 GB, free: 9.234 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/1.295, allocations: 30.77 kB / 1.363 GB, free: 9.203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/1.295, allocations: 12.16 kB / 1.363 GB, free: 9.195 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/1.296, allocations: 119.8 kB / 1.363 GB, free: 9.141 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.296, allocations: 1.438 kB / 1.363 GB, free: 9.141 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/1.296, allocations: 4 kB / 1.363 GB, free: 9.137 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.296, allocations: 6.844 kB / 1.363 GB, free: 9.133 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/1.296, allocations: 112 kB / 1.363 GB, free: 9.109 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.0006455/1.297, allocations: 383.9 kB / 1.364 GB, free: 8.734 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/1.297, allocations: 112.5 kB / 1.364 GB, free: 8.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/1.297, allocations: 46.97 kB / 1.364 GB, free: 8.656 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01758/1.315, allocations: 4.229 MB / 1.368 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.601e-05/1.315, allocations: 32.66 kB / 1.368 GB, free: 6.488 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 4.338e-06/1.315, allocations: 4 kB / 1.368 GB, free: 6.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.001037/1.316, allocations: 167 kB / 1.368 GB, free: 6.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/1.316, allocations: 52.53 kB / 1.368 GB, free: 6.328 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.316, allocations: 103 kB / 1.368 GB, free: 6.223 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/1.316, allocations: 26.92 kB / 1.368 GB, free: 6.191 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/1.316, allocations: 92.92 kB / 1.368 GB, free: 6.098 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/1.316, allocations: 44.62 kB / 1.368 GB, free: 6.059 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-05/1.316, allocations: 29.98 kB / 1.368 GB, free: 6.031 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002312/1.317, allocations: 324.1 kB / 1.369 GB, free: 5.707 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/1.317, allocations: 21.39 kB / 1.369 GB, free: 5.699 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/1.317, allocations: 31.08 kB / 1.369 GB, free: 5.684 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/1.317, allocations: 69.44 kB / 1.369 GB, free: 5.645 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.317, allocations: 0 / 1.369 GB, free: 5.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003664/1.317, allocations: 110.3 kB / 1.369 GB, free: 5.578 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.317, allocations: 7.469 kB / 1.369 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.317, allocations: 0 / 1.369 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/1.318, allocations: 1 kB / 1.369 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/1.318, allocations: 25.23 kB / 1.369 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.318, allocations: 3.906 kB / 1.369 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/1.318, allocations: 9.016 kB / 1.369 GB, free: 5.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/1.318, allocations: 11.5 kB / 1.369 GB, free: 5.555 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.0001448/1.318, allocations: 120.4 kB / 1.369 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/1.318, allocations: 7.516 kB / 1.369 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/1.319, allocations: 360.1 kB / 1.37 GB, free: 5.215 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/1.319, allocations: 10.39 kB / 1.37 GB, free: 5.207 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.319, allocations: 1.125 kB / 1.37 GB, free: 5.207 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.319, allocations: 4 kB / 1.37 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/1.319, allocations: 282.3 kB / 1.37 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.319, allocations: 3.984 kB / 1.37 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/1.319, allocations: 20.69 kB / 1.37 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/1.319, allocations: 1.031 kB / 1.37 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.319, allocations: 9.891 kB / 1.37 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.319, allocations: 0 / 1.37 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.319, allocations: 1.344 kB / 1.37 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/1.32, allocations: 338.6 kB / 1.37 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/1.32, allocations: 108 kB / 1.37 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/1.32, allocations: 1.094 kB / 1.37 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/1.32, allocations: 6.875 kB / 1.37 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/1.321, allocations: 8.078 kB / 1.37 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/1.321, allocations: 8.141 kB / 1.37 GB, free: 4.539 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.327e-05/1.321, allocations: 85.88 kB / 1.37 GB, free: 4.457 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.321, allocations: 8.781 kB / 1.37 GB, free: 4.449 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002559/1.323, allocations: 301.5 kB / 1.371 GB, free: 4.414 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.002461/1.326, allocations: 402.6 kB / 1.371 GB, free: 4.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004337/1.326, allocations: 123 kB / 1.371 GB, free: 4.176 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.326, allocations: 1.031 kB / 1.371 GB, free: 4.176 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/1.326, allocations: 83.7 kB / 1.371 GB, free: 4.141 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/1.327, allocations: 27.23 kB / 1.371 GB, free: 4.125 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008863/1.328, allocations: 311 kB / 1.372 GB, free: 3.902 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/1.328, allocations: 0.7196 MB / 1.372 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001757/1.328, allocations: 32.23 kB / 1.372 GB, free: 3.172 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/1.328, allocations: 13.62 kB / 1.372 GB, free: 3.164 MB / 1.045 GB Notification: Performance of SimCode: time 7.62e-07/1.328, allocations: 4 kB / 1.372 GB, free: 3.16 MB / 1.045 GB Notification: Performance of Templates: time 0.02701/1.355, allocations: 9.862 MB / 1.382 GB, free: 13.99 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/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.621187504380941]