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.00167/0.00167, allocations: 116.1 kB / 17.13 MB, free: 5.945 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.00252/0.00252, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.462/1.462, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.859/2.859, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.002048/0.002048, allocations: 67.89 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9937/0.9957, allocations: 176.1 MB / 1.322 GB, free: 25.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1732/1.169, allocations: 138.8 MB / 1.457 GB, free: 4.34 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0102/1.179, allocations: 8.006 MB / 1.465 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/1.179, allocations: 0 / 1.465 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/1.179, allocations: 33.61 kB / 1.465 GB, free: 14.55 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/1.179, allocations: 17.8 kB / 1.465 GB, free: 14.53 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004404/1.184, allocations: 1.477 MB / 1.467 GB, free: 13.49 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/1.184, allocations: 78.81 kB / 1.467 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/1.184, allocations: 2.938 kB / 1.467 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/1.184, allocations: 41.88 kB / 1.467 GB, free: 13.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/1.184, allocations: 37 kB / 1.467 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/1.184, allocations: 2.969 kB / 1.467 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/1.189, allocations: 2.72 MB / 1.47 GB, free: 11.99 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/1.189, allocations: 19.2 kB / 1.47 GB, free: 11.97 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/1.189, allocations: 29.83 kB / 1.47 GB, free: 11.96 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/1.191, allocations: 1.388 MB / 1.471 GB, free: 11.07 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.191, allocations: 0 / 1.471 GB, free: 11.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.452e-06/1.191, allocations: 0 / 1.471 GB, free: 11.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.191, allocations: 1.094 kB / 1.471 GB, free: 11.07 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.001047/1.192, allocations: 0.5024 MB / 1.471 GB, free: 10.61 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.192, allocations: 13.27 kB / 1.472 GB, free: 10.61 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/1.192, allocations: 31.27 kB / 1.472 GB, free: 10.59 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/1.192, allocations: 166.5 kB / 1.472 GB, free: 10.39 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/1.193, allocations: 37.48 kB / 1.472 GB, free: 10.36 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/1.193, allocations: 8.312 kB / 1.472 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/1.193, allocations: 120.5 kB / 1.472 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/1.193, allocations: 0 / 1.472 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/1.193, allocations: 5.156 kB / 1.472 GB, free: 10.27 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.193, allocations: 4.953 kB / 1.472 GB, free: 10.26 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/1.193, allocations: 113.7 kB / 1.472 GB, free: 10.21 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.0005329/1.194, allocations: 392.3 kB / 1.472 GB, free: 9.801 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/1.194, allocations: 108.8 kB / 1.472 GB, free: 9.734 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/1.194, allocations: 51.27 kB / 1.472 GB, free: 9.703 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01272/1.207, allocations: 4.673 MB / 1.477 GB, free: 6.488 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/1.207, allocations: 40.8 kB / 1.477 GB, free: 6.441 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/1.207, allocations: 0 / 1.477 GB, free: 6.441 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0005773/1.207, allocations: 168.2 kB / 1.477 GB, free: 6.344 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/1.208, allocations: 53.81 kB / 1.477 GB, free: 6.281 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/1.208, allocations: 98.36 kB / 1.477 GB, free: 6.18 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/1.208, allocations: 25.7 kB / 1.477 GB, free: 6.148 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/1.208, allocations: 85.28 kB / 1.478 GB, free: 6.062 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/1.208, allocations: 49.98 kB / 1.478 GB, free: 6.02 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/1.208, allocations: 29.34 kB / 1.478 GB, free: 5.992 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.208, allocations: 324 kB / 1.478 GB, free: 5.668 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/1.208, allocations: 26.14 kB / 1.478 GB, free: 5.656 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.255e-05/1.208, allocations: 27.08 kB / 1.478 GB, free: 5.645 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/1.208, allocations: 65.14 kB / 1.478 GB, free: 5.613 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.208, allocations: 3.938 kB / 1.478 GB, free: 5.609 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001996/1.208, allocations: 113.8 kB / 1.478 GB, free: 5.535 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.208, allocations: 5.625 kB / 1.478 GB, free: 5.535 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.208, allocations: 3.984 kB / 1.478 GB, free: 5.531 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.208, allocations: 5.375 kB / 1.478 GB, free: 5.527 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/1.209, allocations: 22.06 kB / 1.478 GB, free: 5.523 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/1.209, allocations: 3.984 kB / 1.478 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/1.209, allocations: 9.234 kB / 1.478 GB, free: 5.512 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/1.209, allocations: 3.188 kB / 1.478 GB, free: 5.512 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.0001119/1.209, allocations: 116.3 kB / 1.478 GB, free: 5.391 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/1.209, allocations: 8.281 kB / 1.478 GB, free: 5.387 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/1.209, allocations: 374.6 kB / 1.479 GB, free: 5.148 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/1.209, allocations: 10.86 kB / 1.479 GB, free: 5.141 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.209, allocations: 0 / 1.479 GB, free: 5.141 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.209, allocations: 5.031 kB / 1.479 GB, free: 5.137 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/1.21, allocations: 274.2 kB / 1.479 GB, free: 4.871 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.21, allocations: 0 / 1.479 GB, free: 4.871 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/1.21, allocations: 28.64 kB / 1.479 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/1.21, allocations: 1.531 kB / 1.479 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.21, allocations: 1.062 kB / 1.479 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.21, allocations: 1.312 kB / 1.479 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.21, allocations: 4 kB / 1.479 GB, free: 4.855 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/1.21, allocations: 338.8 kB / 1.479 GB, free: 4.609 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/1.21, allocations: 104.2 kB / 1.479 GB, free: 4.496 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/1.21, allocations: 4 kB / 1.479 GB, free: 4.492 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/1.21, allocations: 7.734 kB / 1.479 GB, free: 4.488 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/1.21, allocations: 11.77 kB / 1.479 GB, free: 4.48 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/1.21, allocations: 8.625 kB / 1.479 GB, free: 4.477 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.739e-05/1.21, allocations: 81.7 kB / 1.479 GB, free: 4.398 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.21, allocations: 1.25 kB / 1.479 GB, free: 4.398 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001382/1.212, allocations: 311.2 kB / 1.48 GB, free: 4.355 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.001397/1.213, allocations: 407.1 kB / 1.48 GB, free: 4.172 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002441/1.213, allocations: 118.9 kB / 1.48 GB, free: 4.121 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/1.214, allocations: 0.9062 kB / 1.48 GB, free: 4.121 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/1.214, allocations: 90.75 kB / 1.48 GB, free: 4.078 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/1.214, allocations: 26.45 kB / 1.48 GB, free: 4.059 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/1.215, allocations: 341.7 kB / 1.481 GB, free: 3.797 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/1.215, allocations: 0.7164 MB / 1.481 GB, free: 3.086 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/1.215, allocations: 19.72 kB / 1.481 GB, free: 3.074 MB / 1.154 GB Notification: Performance of SimCode: time 2.7e-07/1.215, allocations: 0 / 1.481 GB, free: 3.074 MB / 1.154 GB Notification: Performance of Templates: time 0.01349/1.228, allocations: 6.86 MB / 1.488 GB, free: 14.5 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/jenkins1/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: 12.103097475002869]