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.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.001864/0.001864, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002365/0.002365, allocations: 191.6 kB / 22.11 MB, free: 4.223 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.677/1.677, allocations: 225.6 MB / 250.8 MB, free: 2.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.013/3.013, allocations: 495.8 MB / 0.7831 GB, free: 12.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 63.89 kB / 1.137 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191/1.193, allocations: 173.6 MB / 1.307 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.2107/1.404, allocations: 134.5 MB / 1.438 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01106/1.415, allocations: 7.915 MB / 1.446 GB, free: 7.023 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.138e-05/1.415, allocations: 0 / 1.446 GB, free: 7.023 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/1.415, allocations: 27.83 kB / 1.446 GB, free: 6.996 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/1.415, allocations: 19.84 kB / 1.446 GB, free: 6.977 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/1.42, allocations: 1.463 MB / 1.447 GB, free: 5.52 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/1.42, allocations: 79.69 kB / 1.447 GB, free: 5.441 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.549e-05/1.42, allocations: 7.938 kB / 1.447 GB, free: 5.434 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/1.42, allocations: 43.78 kB / 1.447 GB, free: 5.391 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/1.42, allocations: 35.91 kB / 1.447 GB, free: 5.355 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/1.42, allocations: 4 kB / 1.447 GB, free: 5.352 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005235/1.426, allocations: 2.688 MB / 1.45 GB, free: 2.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/1.426, allocations: 11.94 kB / 1.45 GB, free: 2.648 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/1.426, allocations: 31.84 kB / 1.45 GB, free: 2.617 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/1.429, allocations: 1.372 MB / 1.451 GB, free: 1.242 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.429, allocations: 0 / 1.451 GB, free: 1.242 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.377e-06/1.429, allocations: 0 / 1.451 GB, free: 1.242 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.429, allocations: 0 / 1.451 GB, free: 1.242 MB / 1.123 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.001219/1.43, allocations: 425.2 kB / 1.452 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.43, allocations: 12.03 kB / 1.452 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/1.43, allocations: 28.86 kB / 1.452 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.43, allocations: 106.5 kB / 1.452 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/1.431, allocations: 34.27 kB / 1.452 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/1.431, allocations: 7.938 kB / 1.452 GB, free: 0.582 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/1.431, allocations: 129.5 kB / 1.452 GB, free: 460 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.431, allocations: 0 / 1.452 GB, free: 460 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/1.431, allocations: 3.938 kB / 1.452 GB, free: 456 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/1.431, allocations: 4 kB / 1.452 GB, free: 452 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/1.431, allocations: 127.8 kB / 1.452 GB, free: 324 kB / 1.123 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.0006037/1.432, allocations: 355.2 kB / 1.453 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/1.432, allocations: 111.7 kB / 1.453 GB, free: 15.8 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/1.432, allocations: 48.83 kB / 1.453 GB, free: 15.75 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/1.444, allocations: 2.962 MB / 1.456 GB, free: 12.78 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/1.444, allocations: 38.5 kB / 1.456 GB, free: 12.73 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/1.444, allocations: 4 kB / 1.456 GB, free: 12.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0006107/1.445, allocations: 160.2 kB / 1.456 GB, free: 12.57 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/1.445, allocations: 55.41 kB / 1.456 GB, free: 12.5 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/1.445, allocations: 97.84 kB / 1.456 GB, free: 12.4 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/1.445, allocations: 29.7 kB / 1.456 GB, free: 12.36 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/1.445, allocations: 80.14 kB / 1.456 GB, free: 12.28 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/1.445, allocations: 51.59 kB / 1.456 GB, free: 12.23 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/1.445, allocations: 25.7 kB / 1.456 GB, free: 12.2 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.445, allocations: 322.8 kB / 1.457 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/1.445, allocations: 27.98 kB / 1.457 GB, free: 11.85 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/1.445, allocations: 27.98 kB / 1.457 GB, free: 11.82 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/1.446, allocations: 68.78 kB / 1.457 GB, free: 11.75 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.446, allocations: 4 kB / 1.457 GB, free: 11.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001997/1.446, allocations: 104.4 kB / 1.457 GB, free: 11.64 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.446, allocations: 4 kB / 1.457 GB, free: 11.64 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.446, allocations: 4 kB / 1.457 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.446, allocations: 0 / 1.457 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/1.446, allocations: 35.92 kB / 1.457 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.446, allocations: 0 / 1.457 GB, free: 11.6 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.826e-05/1.446, allocations: 11.83 kB / 1.457 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/1.446, allocations: 4 kB / 1.457 GB, free: 11.58 MB / 1.139 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.616e-05/1.446, allocations: 117.8 kB / 1.457 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/1.446, allocations: 7.953 kB / 1.457 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/1.447, allocations: 376.1 kB / 1.457 GB, free: 11.08 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.447, allocations: 11.92 kB / 1.457 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.447, allocations: 0 / 1.457 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.447, allocations: 7.938 kB / 1.457 GB, free: 11.06 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/1.447, allocations: 252.5 kB / 1.458 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.447, allocations: 4 kB / 1.458 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/1.447, allocations: 23.98 kB / 1.458 GB, free: 10.74 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.447, allocations: 3.938 kB / 1.458 GB, free: 10.74 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.447, allocations: 3.984 kB / 1.458 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.447, allocations: 4 kB / 1.458 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.447, allocations: 0 / 1.458 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/1.448, allocations: 347.1 kB / 1.458 GB, free: 10.38 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/1.448, allocations: 27.83 kB / 1.458 GB, free: 10.35 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/1.448, allocations: 3.984 kB / 1.458 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/1.448, allocations: 4 kB / 1.458 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/1.448, allocations: 11.98 kB / 1.458 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/1.448, allocations: 11.92 kB / 1.458 GB, free: 10.32 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.257e-05/1.448, allocations: 79.28 kB / 1.458 GB, free: 10.24 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/1.448, allocations: 0 / 1.458 GB, free: 10.24 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001122/1.449, allocations: 299.7 kB / 1.458 GB, free: 9.945 MB / 1.139 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.0013/1.45, allocations: 399 kB / 1.459 GB, free: 9.543 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002656/1.451, allocations: 127.9 kB / 1.459 GB, free: 9.418 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.451, allocations: 0 / 1.459 GB, free: 9.418 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/1.451, allocations: 87.91 kB / 1.459 GB, free: 9.332 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/1.451, allocations: 27.91 kB / 1.459 GB, free: 9.305 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/1.452, allocations: 316.7 kB / 1.459 GB, free: 8.965 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/1.452, allocations: 0.7165 MB / 1.46 GB, free: 8.219 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000115/1.452, allocations: 28.34 kB / 1.46 GB, free: 8.191 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/1.452, allocations: 15.44 kB / 1.46 GB, free: 8.176 MB / 1.139 GB Notification: Performance of SimCode: time 3e-07/1.452, allocations: 4 kB / 1.46 GB, free: 8.172 MB / 1.139 GB Notification: Performance of Templates: time 0.01716/1.469, allocations: 9.945 MB / 1.47 GB, free: 14.22 MB / 1.154 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/jenkins/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: 10.708101619966328]