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.001836/0.001836, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.00246/0.00246, allocations: 164.4 kB / 23.01 MB, free: 4.598 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.504/1.504, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.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.823/2.823, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.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.002469/0.002469, allocations: 65.94 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.151, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.2269/1.378, allocations: 119.6 MB / 1.271 GB, free: 0.8711 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04461/1.422, allocations: 20.23 MB / 1.29 GB, free: 4.316 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/1.423, allocations: 1.25 kB / 1.29 GB, free: 4.316 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003312/1.423, allocations: 46.66 kB / 1.291 GB, free: 4.293 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.000391/1.423, allocations: 101.6 kB / 1.291 GB, free: 4.227 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0238/1.447, allocations: 6.932 MB / 1.297 GB, free: 176 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004679/1.448, allocations: 258.1 kB / 1.298 GB, free: 28 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/1.448, allocations: 6.188 kB / 1.298 GB, free: 24 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/1.448, allocations: 142.1 kB / 1.298 GB, free: 15.95 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/1.448, allocations: 84.97 kB / 1.298 GB, free: 15.9 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/1.448, allocations: 9.156 kB / 1.298 GB, free: 15.9 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02501/1.473, allocations: 11.13 MB / 1.309 GB, free: 10.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/1.473, allocations: 41.98 kB / 1.309 GB, free: 10.24 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/1.473, allocations: 73.91 kB / 1.309 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01943/1.493, allocations: 6.482 MB / 1.315 GB, free: 3.676 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.493, allocations: 0 / 1.315 GB, free: 3.676 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.903e-06/1.493, allocations: 4 kB / 1.315 GB, free: 3.672 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.493, allocations: 0 / 1.315 GB, free: 3.672 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0041/1.497, allocations: 1.167 MB / 1.316 GB, free: 2.469 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.497, allocations: 8.031 kB / 1.316 GB, free: 2.461 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/1.498, allocations: 80.77 kB / 1.316 GB, free: 2.383 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/1.498, allocations: 174.3 kB / 1.317 GB, free: 2.188 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/1.499, allocations: 16.12 kB / 1.317 GB, free: 2.172 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/1.499, allocations: 12 kB / 1.317 GB, free: 2.16 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/1.5, allocations: 0.6738 MB / 1.317 GB, free: 1.418 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.5, allocations: 0 / 1.317 GB, free: 1.418 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/1.5, allocations: 8 kB / 1.317 GB, free: 1.41 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/1.5, allocations: 4 kB / 1.317 GB, free: 1.406 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/1.501, allocations: 0.6049 MB / 1.318 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/1.502, allocations: 0.6996 MB / 1.319 GB, free: 60 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/1.503, allocations: 235.1 kB / 1.319 GB, free: 15.82 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/1.503, allocations: 60.83 kB / 1.319 GB, free: 15.75 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09247/1.596, allocations: 23.37 MB / 1.342 GB, free: 8.344 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/1.596, allocations: 38.56 kB / 1.342 GB, free: 8.297 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 1.694e-06/1.596, allocations: 0 / 1.342 GB, free: 8.297 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.001852/1.598, allocations: 427.5 kB / 1.342 GB, free: 7.875 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/1.598, allocations: 51.41 kB / 1.342 GB, free: 7.812 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.598, allocations: 125.8 kB / 1.342 GB, free: 7.68 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/1.598, allocations: 29.7 kB / 1.342 GB, free: 7.645 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/1.598, allocations: 112.5 kB / 1.342 GB, free: 7.531 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.874e-05/1.598, allocations: 91.22 kB / 1.342 GB, free: 7.441 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/1.598, allocations: 81.66 kB / 1.343 GB, free: 7.355 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.598, allocations: 322.8 kB / 1.343 GB, free: 7.031 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/1.599, allocations: 83.89 kB / 1.343 GB, free: 6.949 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/1.599, allocations: 129.6 kB / 1.343 GB, free: 6.805 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/1.599, allocations: 224.1 kB / 1.343 GB, free: 6.57 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.599, allocations: 0 / 1.343 GB, free: 6.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008164/1.6, allocations: 293.3 kB / 1.344 GB, free: 6.277 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.6, allocations: 10.19 kB / 1.344 GB, free: 6.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.6, allocations: 0 / 1.344 GB, free: 6.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/1.6, allocations: 8.156 kB / 1.344 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/1.601, allocations: 87.88 kB / 1.344 GB, free: 6.176 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.601, allocations: 4 kB / 1.344 GB, free: 6.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/1.601, allocations: 19.84 kB / 1.344 GB, free: 6.152 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/1.601, allocations: 23.92 kB / 1.344 GB, free: 6.129 MB / 1.186 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.0001504/1.601, allocations: 139.4 kB / 1.344 GB, free: 5.984 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.601, allocations: 15.91 kB / 1.344 GB, free: 5.969 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002813/1.604, allocations: 2.489 MB / 1.346 GB, free: 3.469 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/1.604, allocations: 15.97 kB / 1.346 GB, free: 3.453 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.604, allocations: 0 / 1.346 GB, free: 3.453 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.604, allocations: 8 kB / 1.346 GB, free: 3.445 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/1.608, allocations: 3.537 MB / 1.35 GB, free: 15.81 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.608, allocations: 4 kB / 1.35 GB, free: 15.81 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/1.608, allocations: 47.95 kB / 1.35 GB, free: 15.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/1.608, allocations: 4 kB / 1.35 GB, free: 15.76 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/1.608, allocations: 7.984 kB / 1.35 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/1.608, allocations: 4 kB / 1.35 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.608, allocations: 3.938 kB / 1.35 GB, free: 15.74 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000911/1.609, allocations: 0.5589 MB / 1.35 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/1.609, allocations: 63.61 kB / 1.35 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/1.609, allocations: 8 kB / 1.35 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/1.61, allocations: 15.98 kB / 1.35 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/1.61, allocations: 19.91 kB / 1.35 GB, free: 15.06 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/1.61, allocations: 12 kB / 1.35 GB, free: 15.05 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001/1.61, allocations: 100.6 kB / 1.351 GB, free: 14.95 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/1.61, allocations: 0 / 1.351 GB, free: 14.95 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004798/1.615, allocations: 1.715 MB / 1.352 GB, free: 13.23 MB / 1.201 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.008406/1.623, allocations: 1.952 MB / 1.354 GB, free: 11.27 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000762/1.624, allocations: 320.4 kB / 1.354 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.624, allocations: 320 / 1.354 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002989/1.624, allocations: 200.5 kB / 1.355 GB, free: 10.76 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/1.624, allocations: 47.91 kB / 1.355 GB, free: 10.71 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/1.626, allocations: 0.6589 MB / 1.355 GB, free: 10.03 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/1.626, allocations: 160.7 kB / 1.356 GB, free: 9.852 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006156/1.626, allocations: 404.6 kB / 1.356 GB, free: 9.457 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/1.627, allocations: 44.47 kB / 1.356 GB, free: 9.414 MB / 1.201 GB Notification: Performance of SimCode: time 5.21e-07/1.627, allocations: 0 / 1.356 GB, free: 9.414 MB / 1.201 GB Notification: Performance of Templates: time 0.08928/1.716, allocations: 59.29 MB / 1.414 GB, free: 14.11 MB / 1.264 GB " [Timeout remaining time 298] 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 -s ida -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.380962172988802]