Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.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.001324/0.001324, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001613/0.001613, allocations: 217.2 kB / 22.99 MB, free: 4.945 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 2.74/2.74, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck") [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.002079/0.002079, allocations: 68.52 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 169.9 MB / 1.284 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002714/0.3527, allocations: 1.28 MB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1667/0.5194, allocations: 120.9 MB / 1.403 GB, free: 1.441 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.5194, allocations: 0 / 1.403 GB, free: 1.441 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.5195, allocations: 7.875 kB / 1.403 GB, free: 1.434 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.5195, allocations: 3.984 kB / 1.403 GB, free: 1.43 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.5212, allocations: 470.2 kB / 1.404 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.5213, allocations: 39.86 kB / 1.404 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.5213, allocations: 11.98 kB / 1.404 GB, free: 0.918 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.5214, allocations: 23.92 kB / 1.404 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.5215, allocations: 15.97 kB / 1.404 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5215, allocations: 0 / 1.404 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.5233, allocations: 0.7919 MB / 1.404 GB, free: 88 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.5233, allocations: 19.91 kB / 1.404 GB, free: 68 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.5233, allocations: 8 kB / 1.404 GB, free: 60 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0008258/0.5242, allocations: 451 kB / 1.405 GB, free: 15.62 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5242, allocations: 8 kB / 1.405 GB, free: 15.61 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5242, allocations: 0 / 1.405 GB, free: 15.61 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5242, allocations: 0 / 1.405 GB, free: 15.61 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000624/0.5248, allocations: 296.2 kB / 1.405 GB, free: 15.29 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5248, allocations: 8.031 kB / 1.405 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.525, allocations: 16.88 kB / 1.405 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.5252, allocations: 106.5 kB / 1.405 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.5252, allocations: 8.375 kB / 1.405 GB, free: 15.13 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.5252, allocations: 12.06 kB / 1.405 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.5255, allocations: 134.7 kB / 1.405 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5255, allocations: 4 kB / 1.405 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5255, allocations: 0 / 1.405 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5255, allocations: 0 / 1.405 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.961e-05/0.5256, allocations: 19.98 kB / 1.405 GB, free: 14.94 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.5257, allocations: 109.3 kB / 1.406 GB, free: 14.8 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.5259, allocations: 50.55 kB / 1.406 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.5259, allocations: 16.8 kB / 1.406 GB, free: 14.73 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/0.5379, allocations: 2.876 MB / 1.408 GB, free: 11.85 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.5379, allocations: 34.5 kB / 1.408 GB, free: 11.8 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.275e-06/0.5379, allocations: 0 / 1.408 GB, free: 11.8 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04517/0.5831, allocations: 14.92 MB / 1.423 GB, free: 12.75 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.5831, allocations: 55.41 kB / 1.423 GB, free: 12.68 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.195e-05/0.5832, allocations: 89.86 kB / 1.423 GB, free: 12.58 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.5833, allocations: 29.7 kB / 1.423 GB, free: 12.55 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.5833, allocations: 88.08 kB / 1.423 GB, free: 12.46 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.5834, allocations: 39.81 kB / 1.423 GB, free: 12.42 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.5834, allocations: 33.7 kB / 1.423 GB, free: 12.38 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.5836, allocations: 314.8 kB / 1.424 GB, free: 12.06 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.5836, allocations: 19.98 kB / 1.424 GB, free: 12.04 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/0.5837, allocations: 27.98 kB / 1.424 GB, free: 12.02 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.5838, allocations: 63.05 kB / 1.424 GB, free: 11.95 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5838, allocations: 3.938 kB / 1.424 GB, free: 11.95 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002437/0.5841, allocations: 113.6 kB / 1.424 GB, free: 11.83 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5841, allocations: 4 kB / 1.424 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5841, allocations: 0 / 1.424 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5841, allocations: 0 / 1.424 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5842, allocations: 27.98 kB / 1.424 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5843, allocations: 3.938 kB / 1.424 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.5843, allocations: 8 kB / 1.424 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.5843, allocations: 4.234 kB / 1.424 GB, free: 11.79 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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.0001145/0.5844, allocations: 113.8 kB / 1.424 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.5845, allocations: 7.953 kB / 1.424 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.5847, allocations: 133.3 kB / 1.424 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5847, allocations: 0 / 1.424 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5848, allocations: 3.938 kB / 1.424 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5848, allocations: 0 / 1.424 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.5849, allocations: 125.2 kB / 1.424 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5849, allocations: 0 / 1.424 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.585, allocations: 27.98 kB / 1.424 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.585, allocations: 0 / 1.424 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.5851, allocations: 4 kB / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5851, allocations: 0 / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5851, allocations: 0 / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.5854, allocations: 160.9 kB / 1.424 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.5854, allocations: 15.97 kB / 1.424 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.5855, allocations: 4 kB / 1.424 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.5856, allocations: 11.98 kB / 1.424 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.5856, allocations: 7.984 kB / 1.424 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5856, allocations: 4.094 kB / 1.424 GB, free: 11.11 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.5857, allocations: 79.28 kB / 1.425 GB, free: 11.04 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.5857, allocations: 0 / 1.425 GB, free: 11.04 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001894/0.5876, allocations: 0.57 MB / 1.425 GB, free: 10.46 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.003016/0.5906, allocations: 362.6 kB / 1.425 GB, free: 10.1 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.5908, allocations: 63.86 kB / 1.426 GB, free: 10.04 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5908, allocations: 0 / 1.426 GB, free: 10.04 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 6.279e-05/0.5909, allocations: 27.98 kB / 1.426 GB, free: 10.01 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.5911, allocations: 23.42 kB / 1.426 GB, free: 9.992 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/0.5919, allocations: 373.8 kB / 1.426 GB, free: 9.598 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.335e-05/0.592, allocations: 79.19 kB / 1.426 GB, free: 9.5 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.5921, allocations: 19.44 kB / 1.426 GB, free: 9.48 MB / 1.123 GB Notification: Performance of SimCode: time 8.41e-07/0.5921, allocations: 0 / 1.426 GB, free: 9.48 MB / 1.123 GB Notification: Performance of Templates: time 0.02651/0.6186, allocations: 14.42 MB / 1.44 GB, free: 11.07 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.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: 12.119856741745025]