Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamProperties.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.001711/0.001711, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002038/0.002038, allocations: 216.5 kB / 22.99 MB, free: 4.945 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.131/3.131, allocations: 0.4892 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] 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.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamProperties") [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.002043/0.002043, allocations: 70.44 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4022, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1676/0.5698, allocations: 119.6 MB / 1.443 GB, free: 9.742 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03252/0.6023, allocations: 20.24 MB / 1.463 GB, free: 5.445 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.6026, allocations: 0 / 1.463 GB, free: 5.445 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.603, allocations: 47.69 kB / 1.463 GB, free: 5.398 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.6034, allocations: 95.34 kB / 1.463 GB, free: 5.305 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0215/0.6249, allocations: 6.947 MB / 1.47 GB, free: 14.37 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.6254, allocations: 247.9 kB / 1.47 GB, free: 14.13 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.6254, allocations: 5.75 kB / 1.47 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004087/0.6259, allocations: 159.4 kB / 1.47 GB, free: 13.96 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.6261, allocations: 87.66 kB / 1.47 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.6261, allocations: 8 kB / 1.47 GB, free: 13.87 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02391/0.65, allocations: 11.11 MB / 1.481 GB, free: 2.742 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.6502, allocations: 35.89 kB / 1.481 GB, free: 2.707 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.6503, allocations: 79.7 kB / 1.481 GB, free: 2.629 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01753/0.6679, allocations: 6.482 MB / 1.488 GB, free: 12.13 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6679, allocations: 0 / 1.488 GB, free: 12.13 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6679, allocations: 0 / 1.488 GB, free: 12.13 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.6679, allocations: 0 / 1.488 GB, free: 12.13 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004062/0.6719, allocations: 1.163 MB / 1.489 GB, free: 10.93 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.672, allocations: 12.03 kB / 1.489 GB, free: 10.92 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.6731, allocations: 80.77 kB / 1.489 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.6735, allocations: 182.2 kB / 1.489 GB, free: 10.64 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.6735, allocations: 12.12 kB / 1.489 GB, free: 10.63 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.6736, allocations: 16 kB / 1.489 GB, free: 10.61 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.6749, allocations: 0.6741 MB / 1.49 GB, free: 9.871 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.6749, allocations: 0 / 1.49 GB, free: 9.871 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.6749, allocations: 8 kB / 1.49 GB, free: 9.863 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.6749, allocations: 7.984 kB / 1.49 GB, free: 9.855 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.6762, allocations: 0.6088 MB / 1.49 GB, free: 9.246 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.6773, allocations: 0.6958 MB / 1.491 GB, free: 8.508 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.6781, allocations: 231.5 kB / 1.491 GB, free: 8.273 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.6782, allocations: 64.83 kB / 1.491 GB, free: 8.207 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08926/0.7675, allocations: 23.36 MB / 1.514 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.7675, allocations: 38.5 kB / 1.514 GB, free: 0.7578 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 2.645e-06/0.7675, allocations: 4 kB / 1.514 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.001872/0.7694, allocations: 415.6 kB / 1.514 GB, free: 352 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.7695, allocations: 55.41 kB / 1.515 GB, free: 284 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.7696, allocations: 125.8 kB / 1.515 GB, free: 148 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.7697, allocations: 33.7 kB / 1.515 GB, free: 108 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.7698, allocations: 116.7 kB / 1.515 GB, free: 15.98 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.7699, allocations: 91.22 kB / 1.515 GB, free: 15.89 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.77, allocations: 73.67 kB / 1.515 GB, free: 15.82 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.7701, allocations: 330.7 kB / 1.515 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.7704, allocations: 83.94 kB / 1.515 GB, free: 15.4 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.7706, allocations: 129 kB / 1.515 GB, free: 15.26 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.7711, allocations: 215.7 kB / 1.516 GB, free: 15.03 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7711, allocations: 4 kB / 1.516 GB, free: 15.03 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007765/0.7719, allocations: 293.3 kB / 1.516 GB, free: 14.73 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.7719, allocations: 4 kB / 1.516 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.7719, allocations: 4 kB / 1.516 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.7719, allocations: 0 / 1.516 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.7722, allocations: 83.88 kB / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.7722, allocations: 4 kB / 1.516 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.7724, allocations: 19.84 kB / 1.516 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.7724, allocations: 32.12 kB / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001705/0.7726, allocations: 130.2 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.7728, allocations: 15.91 kB / 1.516 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.7758, allocations: 2.479 MB / 1.519 GB, free: 11.94 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.7759, allocations: 11.98 kB / 1.519 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.7759, allocations: 7.938 kB / 1.519 GB, free: 11.92 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.7759, allocations: 0 / 1.519 GB, free: 11.92 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004215/0.7801, allocations: 3.544 MB / 1.522 GB, free: 8.285 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.7801, allocations: 0 / 1.522 GB, free: 8.285 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.7804, allocations: 63.88 kB / 1.522 GB, free: 8.223 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.7804, allocations: 3.938 kB / 1.522 GB, free: 8.219 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.7804, allocations: 8 kB / 1.522 GB, free: 8.211 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.7804, allocations: 0 / 1.522 GB, free: 8.211 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7804, allocations: 3.938 kB / 1.522 GB, free: 8.207 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008914/0.7813, allocations: 0.5623 MB / 1.523 GB, free: 7.629 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.7815, allocations: 59.62 kB / 1.523 GB, free: 7.57 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.7815, allocations: 4 kB / 1.523 GB, free: 7.566 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.7817, allocations: 15.98 kB / 1.523 GB, free: 7.551 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.7818, allocations: 15.91 kB / 1.523 GB, free: 7.535 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.7818, allocations: 23.98 kB / 1.523 GB, free: 7.512 MB / 1.217 GB Notification: Performance of sorting global known variables: time 7.488e-05/0.7819, allocations: 91.27 kB / 1.523 GB, free: 7.422 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.7819, allocations: 0 / 1.523 GB, free: 7.422 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005165/0.787, allocations: 1.719 MB / 1.525 GB, free: 5.699 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009513/0.7965, allocations: 1.965 MB / 1.527 GB, free: 3.723 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007667/0.7973, allocations: 317.1 kB / 1.527 GB, free: 3.414 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.7973, allocations: 4 kB / 1.527 GB, free: 3.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.7976, allocations: 196.5 kB / 1.527 GB, free: 3.219 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.7982, allocations: 60.19 kB / 1.527 GB, free: 3.16 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.7994, allocations: 0.6801 MB / 1.528 GB, free: 2.449 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.7996, allocations: 156.7 kB / 1.528 GB, free: 2.273 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.7998, allocations: 47.41 kB / 1.528 GB, free: 2.227 MB / 1.217 GB Notification: Performance of SimCode: time 5.71e-07/0.7998, allocations: 0 / 1.528 GB, free: 2.227 MB / 1.217 GB Notification: Performance of Templates: time 0.05683/0.8566, allocations: 32.9 MB / 1.56 GB, free: 1.285 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_12_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamProperties.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: 14.604848159011453]