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.001846/0.001846, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.002537/0.002537, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.129/3.129, allocations: 475.9 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002166/0.002166, allocations: 66.11 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3863, allocations: 170 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1825/0.5688, allocations: 119.6 MB / 1.4 GB, free: 3.844 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03417/0.603, allocations: 20.23 MB / 1.42 GB, free: 15.55 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.6032, allocations: 0 / 1.42 GB, free: 15.55 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.6036, allocations: 47.67 kB / 1.42 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.6041, allocations: 91.42 kB / 1.42 GB, free: 15.41 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.02232/0.6264, allocations: 6.949 MB / 1.427 GB, free: 8.48 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.6269, allocations: 255.8 kB / 1.427 GB, free: 8.23 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 7.869e-05/0.627, allocations: 9.75 kB / 1.427 GB, free: 8.223 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004603/0.6275, allocations: 135.5 kB / 1.427 GB, free: 8.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.6277, allocations: 99.58 kB / 1.427 GB, free: 7.992 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.6278, allocations: 8 kB / 1.427 GB, free: 7.984 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02476/0.6525, allocations: 11.11 MB / 1.438 GB, free: 12.86 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.6527, allocations: 43.83 kB / 1.438 GB, free: 12.81 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.6529, allocations: 71.72 kB / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01856/0.6715, allocations: 6.482 MB / 1.444 GB, free: 6.246 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.6715, allocations: 0 / 1.444 GB, free: 6.246 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.906e-06/0.6715, allocations: 0 / 1.444 GB, free: 6.246 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.6715, allocations: 0 / 1.444 GB, free: 6.246 MB / 1.139 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.004255/0.6757, allocations: 1.17 MB / 1.445 GB, free: 5.039 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6758, allocations: 12.03 kB / 1.445 GB, free: 5.027 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.677, allocations: 80.77 kB / 1.446 GB, free: 4.949 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.6775, allocations: 174.3 kB / 1.446 GB, free: 4.754 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.6775, allocations: 16.12 kB / 1.446 GB, free: 4.738 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.6775, allocations: 16 kB / 1.446 GB, free: 4.723 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.679, allocations: 0.6639 MB / 1.446 GB, free: 3.992 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.679, allocations: 3.938 kB / 1.446 GB, free: 3.988 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.6791, allocations: 11.98 kB / 1.446 GB, free: 3.977 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.6791, allocations: 4 kB / 1.446 GB, free: 3.973 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.6805, allocations: 0.601 MB / 1.447 GB, free: 3.371 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.6818, allocations: 0.6957 MB / 1.448 GB, free: 2.633 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008789/0.6827, allocations: 236 kB / 1.448 GB, free: 2.395 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.6828, allocations: 64.83 kB / 1.448 GB, free: 2.328 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09366/0.7765, allocations: 23.36 MB / 1.471 GB, free: 10.92 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.211e-05/0.7765, allocations: 38.56 kB / 1.471 GB, free: 10.87 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 2.414e-06/0.7765, allocations: 0 / 1.471 GB, free: 10.87 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.001984/0.7785, allocations: 428.2 kB / 1.471 GB, free: 10.45 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.7786, allocations: 51.41 kB / 1.471 GB, free: 10.39 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.7787, allocations: 133 kB / 1.471 GB, free: 10.25 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.7788, allocations: 29.7 kB / 1.471 GB, free: 10.21 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.7789, allocations: 116.5 kB / 1.472 GB, free: 10.1 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/0.7789, allocations: 95.2 kB / 1.472 GB, free: 10 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.7791, allocations: 77.62 kB / 1.472 GB, free: 9.922 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7792, allocations: 326.8 kB / 1.472 GB, free: 9.594 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.7794, allocations: 79.95 kB / 1.472 GB, free: 9.516 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.7797, allocations: 138.3 kB / 1.472 GB, free: 9.363 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/0.7803, allocations: 224.4 kB / 1.472 GB, free: 9.129 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.7803, allocations: 4 kB / 1.472 GB, free: 9.125 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009116/0.7812, allocations: 297.3 kB / 1.473 GB, free: 8.828 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.7812, allocations: 8 kB / 1.473 GB, free: 8.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7812, allocations: 0 / 1.473 GB, free: 8.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.7812, allocations: 4 kB / 1.473 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.7816, allocations: 79.88 kB / 1.473 GB, free: 8.738 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7816, allocations: 0 / 1.473 GB, free: 8.738 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.7817, allocations: 23.84 kB / 1.473 GB, free: 8.715 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/0.7818, allocations: 28.14 kB / 1.473 GB, free: 8.688 MB / 1.17 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.0001876/0.782, allocations: 133.7 kB / 1.473 GB, free: 8.547 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.7822, allocations: 11.95 kB / 1.473 GB, free: 8.535 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.7856, allocations: 2.479 MB / 1.475 GB, free: 6.043 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.7856, allocations: 19.91 kB / 1.475 GB, free: 6.023 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.7856, allocations: 0 / 1.475 GB, free: 6.023 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.7856, allocations: 4 kB / 1.475 GB, free: 6.02 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004843/0.7904, allocations: 3.536 MB / 1.479 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.7905, allocations: 4 kB / 1.479 GB, free: 2.387 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.7907, allocations: 55.89 kB / 1.479 GB, free: 2.332 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.7907, allocations: 4 kB / 1.479 GB, free: 2.328 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.7908, allocations: 7.984 kB / 1.479 GB, free: 2.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.7908, allocations: 4 kB / 1.479 GB, free: 2.316 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.7908, allocations: 3.938 kB / 1.479 GB, free: 2.312 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/0.7917, allocations: 0.5436 MB / 1.479 GB, free: 1.754 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.7918, allocations: 71.56 kB / 1.48 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.7919, allocations: 4 kB / 1.48 GB, free: 1.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.7921, allocations: 15.98 kB / 1.48 GB, free: 1.664 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.7921, allocations: 19.91 kB / 1.48 GB, free: 1.645 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.7922, allocations: 16 kB / 1.48 GB, free: 1.629 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.056e-05/0.7923, allocations: 95.27 kB / 1.48 GB, free: 1.535 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.7923, allocations: 0 / 1.48 GB, free: 1.535 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.005639/0.7979, allocations: 1.723 MB / 1.481 GB, free: 15.81 MB / 1.186 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.01093/0.8088, allocations: 1.951 MB / 1.483 GB, free: 13.84 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.81, allocations: 324.3 kB / 1.484 GB, free: 13.53 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.81, allocations: 0 / 1.484 GB, free: 13.53 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.8105, allocations: 193.2 kB / 1.484 GB, free: 13.34 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006782/0.8112, allocations: 56.2 kB / 1.484 GB, free: 13.29 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.8129, allocations: 0.6554 MB / 1.484 GB, free: 12.6 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.8131, allocations: 156.7 kB / 1.485 GB, free: 12.43 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007677/0.8139, allocations: 404.7 kB / 1.485 GB, free: 12.04 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.8141, allocations: 43.42 kB / 1.485 GB, free: 11.99 MB / 1.186 GB Notification: Performance of SimCode: time 6.81e-07/0.8141, allocations: 3.938 kB / 1.485 GB, free: 11.99 MB / 1.186 GB Notification: Performance of Templates: time 0.09484/0.9089, allocations: 59.55 MB / 1.543 GB, free: 424 kB / 1.232 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 -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: 14.619509814307094]