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.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.001414/0.001414, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001881/0.001881, allocations: 192.3 kB / 22.17 MB, free: 5.656 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.642/1.642, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.872/2.872, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.002065/0.002065, allocations: 71.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9797/0.9817, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.2503/1.232, allocations: 136.5 MB / 1.407 GB, free: 11.47 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03296/1.265, allocations: 22.82 MB / 1.43 GB, free: 4.578 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/1.265, allocations: 0 / 1.43 GB, free: 4.578 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003681/1.266, allocations: 51.67 kB / 1.43 GB, free: 4.527 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0004387/1.266, allocations: 91.42 kB / 1.43 GB, free: 4.438 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.02215/1.288, allocations: 6.958 MB / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0005794/1.289, allocations: 255.9 kB / 1.437 GB, free: 13.25 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/1.289, allocations: 9.562 kB / 1.437 GB, free: 13.24 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/1.289, allocations: 139.4 kB / 1.437 GB, free: 13.1 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/1.29, allocations: 103.6 kB / 1.437 GB, free: 13 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/1.29, allocations: 8 kB / 1.437 GB, free: 12.99 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02723/1.317, allocations: 11.66 MB / 1.448 GB, free: 1.316 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/1.317, allocations: 31.89 kB / 1.449 GB, free: 1.285 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/1.317, allocations: 87.64 kB / 1.449 GB, free: 1.199 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01925/1.336, allocations: 6.493 MB / 1.455 GB, free: 10.69 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.336, allocations: 4 kB / 1.455 GB, free: 10.69 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.725e-06/1.336, allocations: 4 kB / 1.455 GB, free: 10.68 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.291e-05/1.336, allocations: 0 / 1.455 GB, free: 10.68 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.004704/1.341, allocations: 1.234 MB / 1.456 GB, free: 9.395 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.341, allocations: 12.03 kB / 1.456 GB, free: 9.383 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/1.342, allocations: 88.75 kB / 1.456 GB, free: 9.297 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/1.343, allocations: 220.1 kB / 1.456 GB, free: 9.043 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.343, allocations: 20.12 kB / 1.456 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/1.343, allocations: 12 kB / 1.456 GB, free: 9.012 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/1.344, allocations: 456.5 kB / 1.457 GB, free: 8.547 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.344, allocations: 0 / 1.457 GB, free: 8.547 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/1.344, allocations: 15.94 kB / 1.457 GB, free: 8.531 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/1.344, allocations: 4 kB / 1.457 GB, free: 8.527 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/1.346, allocations: 0.5931 MB / 1.458 GB, free: 7.934 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/1.347, allocations: 0.8823 MB / 1.458 GB, free: 6.965 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009235/1.348, allocations: 230.4 kB / 1.459 GB, free: 6.73 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/1.348, allocations: 72.83 kB / 1.459 GB, free: 6.656 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1018/1.45, allocations: 35.42 MB / 1.493 GB, free: 136 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/1.45, allocations: 34.5 kB / 1.493 GB, free: 92 kB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 2.033e-06/1.45, allocations: 0 / 1.493 GB, free: 92 kB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.001948/1.452, allocations: 420 kB / 1.494 GB, free: 15.68 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/1.452, allocations: 55.41 kB / 1.494 GB, free: 15.61 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/1.452, allocations: 139.5 kB / 1.494 GB, free: 15.46 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.452, allocations: 33.7 kB / 1.494 GB, free: 15.43 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/1.453, allocations: 116.4 kB / 1.494 GB, free: 15.31 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/1.453, allocations: 87.27 kB / 1.494 GB, free: 15.22 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/1.453, allocations: 81.66 kB / 1.494 GB, free: 15.14 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.453, allocations: 326.8 kB / 1.495 GB, free: 14.81 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/1.453, allocations: 79.95 kB / 1.495 GB, free: 14.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/1.454, allocations: 137 kB / 1.495 GB, free: 14.58 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/1.454, allocations: 219.4 kB / 1.495 GB, free: 14.35 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.454, allocations: 4 kB / 1.495 GB, free: 14.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008375/1.455, allocations: 300.6 kB / 1.495 GB, free: 14.05 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.455, allocations: 8 kB / 1.495 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.455, allocations: 0 / 1.495 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/1.455, allocations: 4 kB / 1.495 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/1.455, allocations: 79.88 kB / 1.495 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.455, allocations: 3.984 kB / 1.495 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/1.455, allocations: 31.72 kB / 1.495 GB, free: 13.92 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/1.455, allocations: 28.14 kB / 1.495 GB, free: 13.89 MB / 1.201 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.0001778/1.456, allocations: 129.7 kB / 1.495 GB, free: 13.76 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/1.456, allocations: 15.91 kB / 1.496 GB, free: 13.74 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/1.459, allocations: 2.338 MB / 1.498 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.459, allocations: 11.98 kB / 1.498 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.459, allocations: 4 kB / 1.498 GB, free: 11.37 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.459, allocations: 7.922 kB / 1.498 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/1.463, allocations: 3.427 MB / 1.501 GB, free: 7.824 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.463, allocations: 0 / 1.501 GB, free: 7.824 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/1.463, allocations: 55.89 kB / 1.501 GB, free: 7.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.463, allocations: 0 / 1.501 GB, free: 7.77 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/1.463, allocations: 11.94 kB / 1.501 GB, free: 7.758 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.463, allocations: 3.984 kB / 1.501 GB, free: 7.754 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.463, allocations: 0 / 1.501 GB, free: 7.754 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/1.464, allocations: 0.5439 MB / 1.502 GB, free: 7.195 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/1.464, allocations: 152.7 kB / 1.502 GB, free: 7.027 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/1.464, allocations: 3.938 kB / 1.502 GB, free: 7.023 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/1.464, allocations: 15.98 kB / 1.502 GB, free: 7.008 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/1.464, allocations: 15.98 kB / 1.502 GB, free: 6.992 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/1.464, allocations: 15.98 kB / 1.502 GB, free: 6.977 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.04e-05/1.464, allocations: 113.6 kB / 1.502 GB, free: 6.867 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.464, allocations: 0 / 1.502 GB, free: 6.867 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00472/1.469, allocations: 1.707 MB / 1.504 GB, free: 5.156 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.008955/1.478, allocations: 1.952 MB / 1.506 GB, free: 3.191 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008104/1.479, allocations: 312.4 kB / 1.506 GB, free: 2.887 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.479, allocations: 4 kB / 1.506 GB, free: 2.883 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/1.479, allocations: 193.1 kB / 1.506 GB, free: 2.695 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/1.48, allocations: 68.12 kB / 1.506 GB, free: 2.629 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/1.481, allocations: 0.6533 MB / 1.507 GB, free: 1.953 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/1.482, allocations: 0.7661 MB / 1.508 GB, free: 1.164 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006305/1.482, allocations: 405 kB / 1.508 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/1.482, allocations: 43.42 kB / 1.508 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of SimCode: time 4.81e-07/1.482, allocations: 0 / 1.508 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of Templates: time 0.08953/1.572, allocations: 59.63 MB / 1.566 GB, free: 5.059 MB / 1.264 GB " [Timeout remaining time 298] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.833543105982244]