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.001857/0.001857, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.002203/0.002203, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.447/1.447, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.662/2.662, allocations: 437 MB / 0.7177 GB, free: 4.52 MB / 0.5606 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.001963/0.001963, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 151.6 MB / 1.176 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.83/1.141, allocations: 135.6 MB / 1.308 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008254/1.149, allocations: 7.919 MB / 1.316 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/1.149, allocations: 1.344 kB / 1.316 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00019/1.149, allocations: 27.33 kB / 1.316 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/1.149, allocations: 19.78 kB / 1.316 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004646/1.154, allocations: 1.451 MB / 1.317 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/1.154, allocations: 82.52 kB / 1.317 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/1.154, allocations: 7.438 kB / 1.317 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/1.154, allocations: 44.34 kB / 1.318 GB, free: 13.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/1.154, allocations: 33.44 kB / 1.318 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/1.155, allocations: 3.438 kB / 1.318 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/1.16, allocations: 2.7 MB / 1.32 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/1.16, allocations: 12.98 kB / 1.32 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/1.16, allocations: 33.11 kB / 1.32 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0027/1.162, allocations: 1.386 MB / 1.322 GB, free: 13.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.162, allocations: 0 / 1.322 GB, free: 13.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.953e-06/1.162, allocations: 4 kB / 1.322 GB, free: 13.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.671e-06/1.162, allocations: 1.125 kB / 1.322 GB, free: 13.88 MB / 1.014 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.001272/1.164, allocations: 0.4939 MB / 1.322 GB, free: 13.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/1.164, allocations: 9.75 kB / 1.322 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/1.164, allocations: 28.97 kB / 1.322 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/1.164, allocations: 163.3 kB / 1.322 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/1.164, allocations: 33.84 kB / 1.322 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/1.164, allocations: 11.72 kB / 1.322 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/1.165, allocations: 129 kB / 1.322 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/1.165, allocations: 0 / 1.322 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/1.165, allocations: 1.062 kB / 1.322 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.165, allocations: 2.219 kB / 1.322 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/1.165, allocations: 116.4 kB / 1.323 GB, free: 13.18 MB / 1.014 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.0005406/1.166, allocations: 377.5 kB / 1.323 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/1.166, allocations: 138.5 kB / 1.323 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/1.166, allocations: 51.14 kB / 1.323 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/1.178, allocations: 4.228 MB / 1.327 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/1.178, allocations: 31.69 kB / 1.327 GB, free: 10.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/1.178, allocations: 0.9062 kB / 1.327 GB, free: 10.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0005787/1.179, allocations: 165.9 kB / 1.327 GB, free: 10.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/1.179, allocations: 58 kB / 1.327 GB, free: 10.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/1.179, allocations: 100 kB / 1.328 GB, free: 10.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/1.179, allocations: 27.05 kB / 1.328 GB, free: 10.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/1.179, allocations: 85.48 kB / 1.328 GB, free: 10.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/1.179, allocations: 49.17 kB / 1.328 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/1.179, allocations: 27.41 kB / 1.328 GB, free: 10.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.18, allocations: 322.6 kB / 1.328 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/1.18, allocations: 26.5 kB / 1.328 GB, free: 10.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/1.18, allocations: 31.33 kB / 1.328 GB, free: 10.04 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/1.18, allocations: 71.36 kB / 1.328 GB, free: 10 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.18, allocations: 0 / 1.328 GB, free: 10 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001937/1.18, allocations: 109 kB / 1.328 GB, free: 9.945 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.18, allocations: 4.375 kB / 1.328 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.18, allocations: 3.656 kB / 1.328 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.18, allocations: 1.281 kB / 1.328 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/1.18, allocations: 25.5 kB / 1.328 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.18, allocations: 0 / 1.328 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/1.18, allocations: 9.766 kB / 1.328 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/1.18, allocations: 10.23 kB / 1.328 GB, free: 9.93 MB / 1.014 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 9.444e-05/1.18, allocations: 111.2 kB / 1.328 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/1.18, allocations: 16.14 kB / 1.328 GB, free: 9.801 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/1.181, allocations: 363.2 kB / 1.329 GB, free: 9.617 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.181, allocations: 10.58 kB / 1.329 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.181, allocations: 0 / 1.329 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.181, allocations: 0 / 1.329 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/1.181, allocations: 288.9 kB / 1.329 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.181, allocations: 0 / 1.329 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/1.181, allocations: 21.81 kB / 1.329 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/1.181, allocations: 1.344 kB / 1.329 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/1.181, allocations: 1.094 kB / 1.329 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.181, allocations: 7.766 kB / 1.329 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.181, allocations: 3.938 kB / 1.329 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/1.182, allocations: 338.6 kB / 1.329 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/1.182, allocations: 102.2 kB / 1.33 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/1.182, allocations: 1.125 kB / 1.33 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.182, allocations: 11.05 kB / 1.33 GB, free: 9.016 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/1.182, allocations: 7.016 kB / 1.33 GB, free: 9.016 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/1.182, allocations: 9.953 kB / 1.33 GB, free: 9.012 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.623e-05/1.182, allocations: 88.86 kB / 1.33 GB, free: 8.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.182, allocations: 0 / 1.33 GB, free: 8.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001588/1.184, allocations: 302.5 kB / 1.33 GB, free: 8.898 MB / 1.014 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.001356/1.185, allocations: 401.8 kB / 1.33 GB, free: 8.762 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002473/1.185, allocations: 127.8 kB / 1.33 GB, free: 8.719 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.185, allocations: 0 / 1.33 GB, free: 8.719 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/1.186, allocations: 112.1 kB / 1.331 GB, free: 8.672 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/1.186, allocations: 21.7 kB / 1.331 GB, free: 8.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/1.186, allocations: 339.8 kB / 1.331 GB, free: 8.426 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/1.187, allocations: 0.7179 MB / 1.332 GB, free: 7.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/1.187, allocations: 17.83 kB / 1.332 GB, free: 7.719 MB / 1.014 GB Notification: Performance of SimCode: time 2.41e-07/1.187, allocations: 0 / 1.332 GB, free: 7.719 MB / 1.014 GB Notification: Performance of Templates: time 0.01261/1.199, allocations: 6.747 MB / 1.338 GB, free: 7.012 MB / 1.014 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_2/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: 11.71525231807027]