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.001376/0.001376, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001323/0.001323, allocations: 216.9 kB / 23.01 MB, free: 4.609 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.319/1.319, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 179] 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.9/2.9, allocations: 0.49 GB / 0.7958 GB, free: 33.3 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.001909/0.001909, allocations: 73.48 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2847, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1495/0.4342, allocations: 139.4 MB / 1.463 GB, free: 5.527 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02872/0.4629, allocations: 22.87 MB / 1.486 GB, free: 14.58 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.463, allocations: 7.938 kB / 1.486 GB, free: 14.57 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.4633, allocations: 47.72 kB / 1.486 GB, free: 14.53 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.4636, allocations: 91.38 kB / 1.486 GB, free: 14.44 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01579/0.4794, allocations: 6.996 MB / 1.493 GB, free: 7.453 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.4798, allocations: 259.8 kB / 1.493 GB, free: 7.199 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.4798, allocations: 9.75 kB / 1.493 GB, free: 7.188 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.4801, allocations: 147.4 kB / 1.493 GB, free: 7.043 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.4803, allocations: 95.64 kB / 1.493 GB, free: 6.949 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.4803, allocations: 15.94 kB / 1.493 GB, free: 6.934 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02079/0.5011, allocations: 11.69 MB / 1.504 GB, free: 11.23 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.5012, allocations: 39.89 kB / 1.505 GB, free: 11.19 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.5013, allocations: 79.66 kB / 1.505 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.5184, allocations: 6.509 MB / 1.511 GB, free: 4.59 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5184, allocations: 0 / 1.511 GB, free: 4.59 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5184, allocations: 4 kB / 1.511 GB, free: 4.586 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5184, allocations: 0 / 1.511 GB, free: 4.586 MB / 1.201 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.003048/0.5215, allocations: 1.163 MB / 1.512 GB, free: 3.387 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5215, allocations: 12.02 kB / 1.512 GB, free: 3.375 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.5226, allocations: 84.77 kB / 1.512 GB, free: 3.293 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.5229, allocations: 174.2 kB / 1.512 GB, free: 3.098 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.5229, allocations: 16.12 kB / 1.512 GB, free: 3.082 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.5229, allocations: 16 kB / 1.512 GB, free: 3.066 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.5241, allocations: 484.7 kB / 1.513 GB, free: 2.574 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5241, allocations: 4 kB / 1.513 GB, free: 2.57 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.5241, allocations: 8 kB / 1.513 GB, free: 2.562 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5241, allocations: 4 kB / 1.513 GB, free: 2.559 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.5253, allocations: 0.6205 MB / 1.513 GB, free: 1.938 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.5265, allocations: 0.8541 MB / 1.514 GB, free: 1.004 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.5273, allocations: 236.7 kB / 1.515 GB, free: 0.7656 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.5274, allocations: 60.83 kB / 1.515 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07934/0.6068, allocations: 23.3 MB / 1.537 GB, free: 9.363 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.6068, allocations: 34.56 kB / 1.537 GB, free: 9.32 MB / 1.233 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.6068, allocations: 7.875 kB / 1.537 GB, free: 9.312 MB / 1.233 GB Notification: Performance of matching and sorting (n=25): time 0.001666/0.6085, allocations: 423.1 kB / 1.538 GB, free: 8.895 MB / 1.233 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.6085, allocations: 55.41 kB / 1.538 GB, free: 8.828 MB / 1.233 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.6087, allocations: 143.5 kB / 1.538 GB, free: 8.68 MB / 1.233 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.6087, allocations: 29.7 kB / 1.538 GB, free: 8.645 MB / 1.233 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.6088, allocations: 108.4 kB / 1.538 GB, free: 8.535 MB / 1.233 GB Notification: Performance of collectInitialBindings (initialization): time 8.312e-05/0.6088, allocations: 95.2 kB / 1.538 GB, free: 8.441 MB / 1.233 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.609, allocations: 73.66 kB / 1.538 GB, free: 8.363 MB / 1.233 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6091, allocations: 330.8 kB / 1.539 GB, free: 8.031 MB / 1.233 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.6093, allocations: 79.95 kB / 1.539 GB, free: 7.953 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.6095, allocations: 137 kB / 1.539 GB, free: 7.801 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004219/0.6099, allocations: 219.7 kB / 1.539 GB, free: 7.57 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6099, allocations: 0 / 1.539 GB, free: 7.57 MB / 1.233 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007249/0.6106, allocations: 303 kB / 1.539 GB, free: 7.27 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6107, allocations: 4 kB / 1.539 GB, free: 7.266 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6107, allocations: 0 / 1.539 GB, free: 7.266 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6107, allocations: 4 kB / 1.539 GB, free: 7.262 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.611, allocations: 83.88 kB / 1.539 GB, free: 7.18 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.611, allocations: 4 kB / 1.539 GB, free: 7.176 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.6111, allocations: 23.98 kB / 1.539 GB, free: 7.152 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.6112, allocations: 27.98 kB / 1.539 GB, free: 7.125 MB / 1.233 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.0001319/0.6113, allocations: 122.3 kB / 1.54 GB, free: 6.996 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.6115, allocations: 23.89 kB / 1.54 GB, free: 6.973 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.614, allocations: 2.483 MB / 1.542 GB, free: 4.477 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.614, allocations: 15.97 kB / 1.542 GB, free: 4.461 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.614, allocations: 0 / 1.542 GB, free: 4.461 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.614, allocations: 7.938 kB / 1.542 GB, free: 4.453 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/0.6175, allocations: 3.61 MB / 1.546 GB, free: 0.7344 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6175, allocations: 0 / 1.546 GB, free: 0.7344 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.6178, allocations: 55.89 kB / 1.546 GB, free: 0.6797 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6178, allocations: 0 / 1.546 GB, free: 0.6797 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.6178, allocations: 15.92 kB / 1.546 GB, free: 0.6641 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.6178, allocations: 0 / 1.546 GB, free: 0.6641 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6178, allocations: 0 / 1.546 GB, free: 0.6641 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.6186, allocations: 0.5507 MB / 1.546 GB, free: 100 kB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.6187, allocations: 75.44 kB / 1.546 GB, free: 24 kB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.6187, allocations: 7.938 kB / 1.546 GB, free: 16 kB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.6189, allocations: 11.98 kB / 1.546 GB, free: 4 kB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.619, allocations: 20.05 kB / 1.546 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.619, allocations: 12 kB / 1.546 GB, free: 15.97 MB / 1.248 GB Notification: Performance of sorting global known variables: time 7.651e-05/0.6191, allocations: 109.8 kB / 1.546 GB, free: 15.86 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6191, allocations: 0 / 1.546 GB, free: 15.86 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004131/0.6232, allocations: 1.719 MB / 1.548 GB, free: 14.14 MB / 1.248 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.006256/0.6295, allocations: 1.955 MB / 1.55 GB, free: 12.18 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0006231/0.6301, allocations: 317 kB / 1.55 GB, free: 11.87 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6301, allocations: 4 kB / 1.55 GB, free: 11.86 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.6304, allocations: 197.2 kB / 1.55 GB, free: 11.67 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.6309, allocations: 76.16 kB / 1.551 GB, free: 11.6 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.632, allocations: 0.6767 MB / 1.551 GB, free: 10.89 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.6324, allocations: 0.766 MB / 1.552 GB, free: 10.1 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.6325, allocations: 51.41 kB / 1.552 GB, free: 10.05 MB / 1.248 GB Notification: Performance of SimCode: time 3.21e-07/0.6325, allocations: 0 / 1.552 GB, free: 10.05 MB / 1.248 GB Notification: Performance of Templates: time 0.04844/0.6809, allocations: 32.98 MB / 1.584 GB, free: 9.027 MB / 1.279 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: 13.187055827002041]