Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0006816/0.0006816, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007889/0.0007889, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8888/0.8888, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Examples.SteamProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.718e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.5511/0.5512, allocations: 119.6 MB / 1.069 GB, free: 41.9 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.5652, allocations: 20.24 MB / 1.088 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.5653, allocations: 0 / 1.088 GB, free: 39.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.5656, allocations: 44.36 kB / 1.088 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.5658, allocations: 106 kB / 1.088 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01153/0.5774, allocations: 7.004 MB / 1.095 GB, free: 38.57 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.5777, allocations: 262.2 kB / 1.096 GB, free: 38.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.5777, allocations: 18.77 kB / 1.096 GB, free: 38.45 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.578, allocations: 180 kB / 1.096 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.5781, allocations: 76.66 kB / 1.096 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.5781, allocations: 8.469 kB / 1.096 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.5944, allocations: 11.13 MB / 1.107 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.495e-05/0.5945, allocations: 44.38 kB / 1.107 GB, free: 35.97 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.5946, allocations: 60.11 kB / 1.107 GB, free: 35.96 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.6107, allocations: 8.369 MB / 1.115 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6107, allocations: 0 / 1.115 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6107, allocations: 5.062 kB / 1.115 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6107, allocations: 0 / 1.115 GB, free: 33.78 MB / 0.9948 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.004253/0.615, allocations: 1.162 MB / 1.116 GB, free: 33.01 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.615, allocations: 9.938 kB / 1.116 GB, free: 33.01 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.6156, allocations: 83.03 kB / 1.116 GB, free: 33 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.6159, allocations: 175.5 kB / 1.116 GB, free: 32.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.6159, allocations: 12.72 kB / 1.116 GB, free: 32.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.6159, allocations: 15.47 kB / 1.116 GB, free: 32.83 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.6166, allocations: 0.6673 MB / 1.117 GB, free: 32.39 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6166, allocations: 0 / 1.117 GB, free: 32.39 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.6166, allocations: 11.28 kB / 1.117 GB, free: 32.38 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6166, allocations: 7.344 kB / 1.117 GB, free: 32.38 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006795/0.6173, allocations: 0.6075 MB / 1.118 GB, free: 32.23 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.6179, allocations: 0.6873 MB / 1.118 GB, free: 31.68 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.6184, allocations: 246.7 kB / 1.119 GB, free: 31.59 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.6184, allocations: 66.12 kB / 1.119 GB, free: 31.56 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04279/0.6612, allocations: 23.35 MB / 1.141 GB, free: 26.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.6613, allocations: 38.69 kB / 1.141 GB, free: 26.46 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.6613, allocations: 0 / 1.141 GB, free: 26.46 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.001015/0.6623, allocations: 422.5 kB / 1.142 GB, free: 26.23 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.6623, allocations: 54.88 kB / 1.142 GB, free: 26.17 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.6624, allocations: 134.9 kB / 1.142 GB, free: 26.04 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6624, allocations: 31.86 kB / 1.142 GB, free: 26.01 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.6624, allocations: 109.3 kB / 1.142 GB, free: 25.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.6625, allocations: 90.95 kB / 1.142 GB, free: 25.82 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/0.6625, allocations: 81.44 kB / 1.142 GB, free: 25.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.333e-05/0.6626, allocations: 326.3 kB / 1.143 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.6627, allocations: 75.95 kB / 1.143 GB, free: 25.41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.6628, allocations: 128.5 kB / 1.143 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.6631, allocations: 224.6 kB / 1.143 GB, free: 25.18 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6631, allocations: 1.531 kB / 1.143 GB, free: 25.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004323/0.6635, allocations: 302.1 kB / 1.143 GB, free: 25.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6635, allocations: 5.812 kB / 1.143 GB, free: 25.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6635, allocations: 2.75 kB / 1.143 GB, free: 25.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6636, allocations: 1.75 kB / 1.143 GB, free: 25.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.6637, allocations: 81.91 kB / 1.143 GB, free: 24.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6637, allocations: 6.375 kB / 1.143 GB, free: 24.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.6638, allocations: 17.48 kB / 1.143 GB, free: 24.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.6638, allocations: 25.53 kB / 1.143 GB, free: 24.96 MB / 0.9948 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 7.877e-05/0.6639, allocations: 128.7 kB / 1.144 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.664, allocations: 25.36 kB / 1.144 GB, free: 24.82 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.6654, allocations: 2.488 MB / 1.146 GB, free: 23.49 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.6654, allocations: 13.73 kB / 1.146 GB, free: 23.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.6654, allocations: 0 / 1.146 GB, free: 23.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6654, allocations: 3.984 kB / 1.146 GB, free: 23.48 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.6671, allocations: 3.536 MB / 1.15 GB, free: 21.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6671, allocations: 3.125 kB / 1.15 GB, free: 21.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.6672, allocations: 65.06 kB / 1.15 GB, free: 21.37 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6672, allocations: 0 / 1.15 GB, free: 21.37 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.6673, allocations: 6.188 kB / 1.15 GB, free: 21.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6673, allocations: 2.969 kB / 1.15 GB, free: 21.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6673, allocations: 0 / 1.15 GB, free: 21.37 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.6677, allocations: 0.5605 MB / 1.15 GB, free: 21.01 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.6677, allocations: 63.33 kB / 1.15 GB, free: 20.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.6678, allocations: 4 kB / 1.15 GB, free: 20.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.6679, allocations: 19.95 kB / 1.15 GB, free: 20.95 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.6679, allocations: 17.44 kB / 1.15 GB, free: 20.94 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.6679, allocations: 18.52 kB / 1.15 GB, free: 20.93 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.736e-05/0.6679, allocations: 96.86 kB / 1.15 GB, free: 20.85 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6679, allocations: 0 / 1.15 GB, free: 20.85 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005366/0.6733, allocations: 1.715 MB / 1.152 GB, free: 20.5 MB / 0.9948 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.005461/0.6788, allocations: 2.198 MB / 1.154 GB, free: 19.86 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003676/0.6791, allocations: 328.4 kB / 1.155 GB, free: 19.71 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6791, allocations: 0 / 1.155 GB, free: 19.71 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.6793, allocations: 192.1 kB / 1.155 GB, free: 19.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.6796, allocations: 64.25 kB / 1.155 GB, free: 19.58 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.6802, allocations: 0.645 MB / 1.155 GB, free: 19.15 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.545e-05/0.6803, allocations: 159.3 kB / 1.156 GB, free: 19.04 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.6804, allocations: 50.94 kB / 1.156 GB, free: 19.02 MB / 0.9948 GB Notification: Performance of SimCode: time 8.01e-07/0.6804, allocations: 0 / 1.156 GB, free: 19.02 MB / 0.9948 GB Notification: Performance of Templates: time 0.03139/0.7118, allocations: 33.12 MB / 1.188 GB, free: 12.24 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_11_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.39278400503099]