Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001549/0.001549, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001752/0.001752, allocations: 217.2 kB / 23.04 MB, free: 4.844 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.758 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.102/3.102, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_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_12_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.002022/0.002022, allocations: 68.28 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002496/0.3161, allocations: 1.28 MB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.4702, allocations: 120.9 MB / 1.446 GB, free: 6.273 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.4702, allocations: 0 / 1.446 GB, free: 6.273 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.4702, allocations: 3.938 kB / 1.446 GB, free: 6.27 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.4703, allocations: 3.984 kB / 1.446 GB, free: 6.266 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.4715, allocations: 466.3 kB / 1.447 GB, free: 5.809 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 7.876e-05/0.4716, allocations: 39.86 kB / 1.447 GB, free: 5.77 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.4717, allocations: 0 / 1.447 GB, free: 5.77 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.4717, allocations: 27.91 kB / 1.447 GB, free: 5.742 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.4718, allocations: 11.98 kB / 1.447 GB, free: 5.73 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.4718, allocations: 0 / 1.447 GB, free: 5.73 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.4732, allocations: 0.8036 MB / 1.448 GB, free: 4.926 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.4733, allocations: 15.91 kB / 1.448 GB, free: 4.91 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.4733, allocations: 12 kB / 1.448 GB, free: 4.898 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005986/0.4739, allocations: 443 kB / 1.448 GB, free: 4.465 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4739, allocations: 4 kB / 1.448 GB, free: 4.461 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4739, allocations: 0 / 1.448 GB, free: 4.461 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4739, allocations: 0 / 1.448 GB, free: 4.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004813/0.4744, allocations: 298.1 kB / 1.448 GB, free: 4.141 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4744, allocations: 8.031 kB / 1.448 GB, free: 4.133 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.4746, allocations: 16.86 kB / 1.449 GB, free: 4.117 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.4747, allocations: 110.5 kB / 1.449 GB, free: 3.984 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4747, allocations: 4.375 kB / 1.449 GB, free: 3.98 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.4747, allocations: 8.125 kB / 1.449 GB, free: 3.973 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.4749, allocations: 134.7 kB / 1.449 GB, free: 3.816 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4749, allocations: 4 kB / 1.449 GB, free: 3.812 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.475, allocations: 4 kB / 1.449 GB, free: 3.809 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.475, allocations: 0 / 1.449 GB, free: 3.809 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.475, allocations: 19.97 kB / 1.449 GB, free: 3.789 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.4752, allocations: 117.3 kB / 1.449 GB, free: 3.645 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.4753, allocations: 42.56 kB / 1.449 GB, free: 3.594 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.4753, allocations: 20.8 kB / 1.449 GB, free: 3.57 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.4866, allocations: 2.868 MB / 1.452 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.4867, allocations: 38.5 kB / 1.452 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.4867, allocations: 0 / 1.452 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.04302/0.5297, allocations: 14.94 MB / 1.466 GB, free: 1.582 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.5298, allocations: 51.41 kB / 1.466 GB, free: 1.52 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.5298, allocations: 97.8 kB / 1.467 GB, free: 1.414 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.5299, allocations: 29.7 kB / 1.467 GB, free: 1.379 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.5299, allocations: 80.14 kB / 1.467 GB, free: 1.297 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.5299, allocations: 39.81 kB / 1.467 GB, free: 1.258 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.53, allocations: 41.66 kB / 1.467 GB, free: 1.211 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5302, allocations: 314.8 kB / 1.467 GB, free: 0.8945 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/0.5302, allocations: 27.98 kB / 1.467 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.5303, allocations: 19.98 kB / 1.467 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.5304, allocations: 64.8 kB / 1.467 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5304, allocations: 3.938 kB / 1.467 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002225/0.5306, allocations: 97.67 kB / 1.467 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5306, allocations: 4 kB / 1.467 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5306, allocations: 0 / 1.467 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5307, allocations: 4 kB / 1.467 GB, free: 0.668 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.5308, allocations: 35.92 kB / 1.467 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5308, allocations: 0 / 1.467 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.5308, allocations: 0 / 1.467 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.5308, allocations: 4 kB / 1.467 GB, free: 0.6289 MB / 1.154 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.0001034/0.5309, allocations: 124.9 kB / 1.467 GB, free: 0.5 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.531, allocations: 7.891 kB / 1.467 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.5312, allocations: 125.4 kB / 1.467 GB, free: 372 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5312, allocations: 4 kB / 1.468 GB, free: 368 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.5313, allocations: 0 / 1.468 GB, free: 368 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5313, allocations: 0 / 1.468 GB, free: 368 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5314, allocations: 129.2 kB / 1.468 GB, free: 208 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5314, allocations: 0 / 1.468 GB, free: 208 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5315, allocations: 23.98 kB / 1.468 GB, free: 184 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.5315, allocations: 4 kB / 1.468 GB, free: 180 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5315, allocations: 4 kB / 1.468 GB, free: 176 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5315, allocations: 0 / 1.468 GB, free: 176 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5315, allocations: 0 / 1.468 GB, free: 176 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.5319, allocations: 168.9 kB / 1.468 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.5319, allocations: 19.98 kB / 1.468 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.5319, allocations: 0 / 1.468 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.5321, allocations: 15.98 kB / 1.468 GB, free: 15.95 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.5321, allocations: 7.984 kB / 1.468 GB, free: 15.95 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.5321, allocations: 4 kB / 1.468 GB, free: 15.94 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.5321, allocations: 75.28 kB / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5321, allocations: 0 / 1.468 GB, free: 15.87 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00169/0.5338, allocations: 0.5739 MB / 1.468 GB, free: 15.29 MB / 1.17 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.002722/0.5366, allocations: 358.8 kB / 1.469 GB, free: 14.93 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.5367, allocations: 65.61 kB / 1.469 GB, free: 14.87 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5368, allocations: 4 kB / 1.469 GB, free: 14.87 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.5368, allocations: 27.98 kB / 1.469 GB, free: 14.84 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.537, allocations: 10.12 kB / 1.469 GB, free: 14.83 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006553/0.5376, allocations: 368.1 kB / 1.469 GB, free: 14.44 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.089e-05/0.5377, allocations: 71.28 kB / 1.469 GB, free: 14.35 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.5377, allocations: 19.44 kB / 1.469 GB, free: 14.33 MB / 1.17 GB Notification: Performance of SimCode: time 3.3e-07/0.5378, allocations: 4 kB / 1.469 GB, free: 14.32 MB / 1.17 GB Notification: Performance of Templates: time 0.02346/0.5612, allocations: 14.42 MB / 1.483 GB, free: 15.91 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.117326851002872]