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.00185/0.00185, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002289/0.002289, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.589/1.589, 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.3/3.3, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 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.002087/0.002087, allocations: 67.83 kB / 1.155 GB, free: 25.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4323, allocations: 176.1 MB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1783/0.6105, allocations: 119.6 MB / 1.444 GB, free: 8.824 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.05495/0.6655, allocations: 20.23 MB / 1.464 GB, free: 4.527 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.6657, allocations: 7.875 kB / 1.464 GB, free: 4.52 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.6662, allocations: 43.73 kB / 1.464 GB, free: 4.477 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0007295/0.6669, allocations: 99.38 kB / 1.464 GB, free: 4.379 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.03999/0.7069, allocations: 6.931 MB / 1.471 GB, free: 13.46 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.7075, allocations: 259.8 kB / 1.471 GB, free: 13.2 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 7.073e-05/0.7076, allocations: 13.69 kB / 1.471 GB, free: 13.19 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.7081, allocations: 143.5 kB / 1.471 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.7084, allocations: 95.64 kB / 1.471 GB, free: 12.95 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.7085, allocations: 11.94 kB / 1.471 GB, free: 12.94 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03853/0.747, allocations: 11.54 MB / 1.482 GB, free: 1.383 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.7472, allocations: 43.77 kB / 1.482 GB, free: 1.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.7474, allocations: 71.72 kB / 1.482 GB, free: 1.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01632/0.7637, allocations: 6.478 MB / 1.489 GB, free: 10.78 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.7637, allocations: 0 / 1.489 GB, free: 10.78 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7637, allocations: 0 / 1.489 GB, free: 10.78 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7637, allocations: 0 / 1.489 GB, free: 10.78 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.003995/0.7677, allocations: 1.163 MB / 1.49 GB, free: 9.578 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.7678, allocations: 12.02 kB / 1.49 GB, free: 9.566 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.7689, allocations: 84.77 kB / 1.49 GB, free: 9.484 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.7693, allocations: 166.3 kB / 1.49 GB, free: 9.297 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.7693, allocations: 20.06 kB / 1.49 GB, free: 9.277 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.7693, allocations: 12 kB / 1.49 GB, free: 9.266 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.7708, allocations: 0.6742 MB / 1.491 GB, free: 8.523 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7708, allocations: 0 / 1.491 GB, free: 8.523 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.7708, allocations: 8 kB / 1.491 GB, free: 8.516 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.7708, allocations: 8 kB / 1.491 GB, free: 8.508 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.7723, allocations: 0.6049 MB / 1.491 GB, free: 7.902 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.7734, allocations: 0.6958 MB / 1.492 GB, free: 7.164 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.7743, allocations: 238.3 kB / 1.492 GB, free: 6.922 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.7745, allocations: 64.83 kB / 1.492 GB, free: 6.855 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0887/0.8632, allocations: 23.37 MB / 1.515 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.8632, allocations: 42.5 kB / 1.515 GB, free: 15.4 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.8632, allocations: 0 / 1.515 GB, free: 15.4 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.001923/0.8651, allocations: 419.6 kB / 1.516 GB, free: 14.98 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.8652, allocations: 55.34 kB / 1.516 GB, free: 14.92 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.8653, allocations: 131 kB / 1.516 GB, free: 14.78 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.8654, allocations: 33.7 kB / 1.516 GB, free: 14.74 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.8655, allocations: 116.5 kB / 1.516 GB, free: 14.62 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/0.8656, allocations: 87.23 kB / 1.516 GB, free: 14.54 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.8657, allocations: 81.66 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8659, allocations: 322.8 kB / 1.516 GB, free: 14.13 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.866, allocations: 79.95 kB / 1.517 GB, free: 14.05 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.8663, allocations: 129.1 kB / 1.517 GB, free: 13.91 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.8668, allocations: 223.7 kB / 1.517 GB, free: 13.67 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.8668, allocations: 0 / 1.517 GB, free: 13.67 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007972/0.8676, allocations: 289.3 kB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.8676, allocations: 11.98 kB / 1.517 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.8676, allocations: 0 / 1.517 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.8676, allocations: 7.938 kB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.8679, allocations: 83.88 kB / 1.517 GB, free: 13.28 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.868, allocations: 0 / 1.517 GB, free: 13.28 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.8681, allocations: 28 kB / 1.517 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.8682, allocations: 23.92 kB / 1.517 GB, free: 13.23 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.0001744/0.8683, allocations: 130.3 kB / 1.517 GB, free: 13.09 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.8685, allocations: 19.89 kB / 1.517 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/0.8715, allocations: 2.483 MB / 1.52 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.8715, allocations: 7.984 kB / 1.52 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.8715, allocations: 3.984 kB / 1.52 GB, free: 10.56 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8715, allocations: 4 kB / 1.52 GB, free: 10.56 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/0.8755, allocations: 3.54 MB / 1.523 GB, free: 6.926 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.8755, allocations: 8 kB / 1.523 GB, free: 6.918 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.8758, allocations: 47.95 kB / 1.523 GB, free: 6.871 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.8758, allocations: 4 kB / 1.523 GB, free: 6.867 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.8758, allocations: 7.984 kB / 1.523 GB, free: 6.859 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.8758, allocations: 4 kB / 1.523 GB, free: 6.855 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8758, allocations: 7.875 kB / 1.523 GB, free: 6.848 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.8767, allocations: 0.5506 MB / 1.524 GB, free: 6.281 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.8768, allocations: 63.61 kB / 1.524 GB, free: 6.219 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.8769, allocations: 4 kB / 1.524 GB, free: 6.215 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.8771, allocations: 15.98 kB / 1.524 GB, free: 6.199 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.8771, allocations: 27.91 kB / 1.524 GB, free: 6.172 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.8772, allocations: 8 kB / 1.524 GB, free: 6.164 MB / 1.217 GB Notification: Performance of sorting global known variables: time 9.018e-05/0.8773, allocations: 101.1 kB / 1.524 GB, free: 6.066 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8773, allocations: 0 / 1.524 GB, free: 6.066 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005381/0.8826, allocations: 1.715 MB / 1.526 GB, free: 4.348 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.009228/0.8919, allocations: 1.961 MB / 1.528 GB, free: 2.375 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008973/0.8928, allocations: 321.2 kB / 1.528 GB, free: 2.062 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.8928, allocations: 0 / 1.528 GB, free: 2.062 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.8931, allocations: 197.2 kB / 1.528 GB, free: 1.871 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.8937, allocations: 49.84 kB / 1.528 GB, free: 1.824 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.8949, allocations: 0.655 MB / 1.529 GB, free: 1.145 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.8951, allocations: 156.7 kB / 1.529 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005795/0.8957, allocations: 404.6 kB / 1.529 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.8958, allocations: 43.41 kB / 1.53 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/0.8958, allocations: 0 / 1.53 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of Templates: time 0.08711/0.983, allocations: 59.73 MB / 1.588 GB, free: 4.781 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 -s cvode -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.372447720001219]