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.0008329/0.0008329, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0008062/0.0008062, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8729/0.8729, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 7.71e-07/7.71e-07, allocations: 0 / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.304e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001264/0.001277, allocations: 1.266 MB / 0.9529 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5532/0.5545, allocations: 120.9 MB / 1.071 GB, free: 41.63 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.5545, allocations: 0 / 1.071 GB, free: 41.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.5546, allocations: 0 / 1.071 GB, free: 41.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.5546, allocations: 5.766 kB / 1.071 GB, free: 41.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009842/0.5556, allocations: 471.7 kB / 1.071 GB, free: 41.6 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.5557, allocations: 44.05 kB / 1.072 GB, free: 41.59 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.5557, allocations: 3.375 kB / 1.072 GB, free: 41.59 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.5558, allocations: 29.17 kB / 1.072 GB, free: 41.59 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.5558, allocations: 14.77 kB / 1.072 GB, free: 41.59 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.5558, allocations: 2.969 kB / 1.072 GB, free: 41.59 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.5567, allocations: 0.8016 MB / 1.072 GB, free: 41.59 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.5567, allocations: 10.45 kB / 1.072 GB, free: 41.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.5567, allocations: 12.88 kB / 1.072 GB, free: 41.59 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.5572, allocations: 0.5574 MB / 1.073 GB, free: 41.58 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5572, allocations: 0 / 1.073 GB, free: 41.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5572, allocations: 1.5 kB / 1.073 GB, free: 41.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.5573, allocations: 0 / 1.073 GB, free: 41.58 MB / 0.9948 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.0003829/0.5576, allocations: 308.4 kB / 1.073 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.5577, allocations: 12.47 kB / 1.073 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.5578, allocations: 16.84 kB / 1.073 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.237e-05/0.5579, allocations: 109.9 kB / 1.073 GB, free: 41.17 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.5579, allocations: 3.375 kB / 1.073 GB, free: 41.17 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.5579, allocations: 3.156 kB / 1.073 GB, free: 41.17 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.558, allocations: 131 kB / 1.073 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.558, allocations: 0 / 1.073 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.558, allocations: 7.062 kB / 1.073 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.558, allocations: 2.844 kB / 1.073 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.5581, allocations: 19.8 kB / 1.073 GB, free: 41.04 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.5582, allocations: 115 kB / 1.074 GB, free: 40.91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.501e-05/0.5583, allocations: 59.38 kB / 1.074 GB, free: 40.88 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.5583, allocations: 10.48 kB / 1.074 GB, free: 40.88 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005038/0.5633, allocations: 2.88 MB / 1.076 GB, free: 40.62 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.5634, allocations: 34 kB / 1.077 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.5634, allocations: 0 / 1.077 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.02196/0.5853, allocations: 14.92 MB / 1.091 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.5854, allocations: 52.28 kB / 1.091 GB, free: 38.72 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.747e-05/0.5854, allocations: 93.7 kB / 1.091 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.5854, allocations: 31.38 kB / 1.091 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.327e-06/0.5854, allocations: 80.7 kB / 1.091 GB, free: 38.51 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.5854, allocations: 43.52 kB / 1.091 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.5855, allocations: 29.05 kB / 1.091 GB, free: 38.47 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.255e-05/0.5855, allocations: 322.4 kB / 1.092 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.5856, allocations: 22.23 kB / 1.092 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.5856, allocations: 30.08 kB / 1.092 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.739e-05/0.5857, allocations: 62.75 kB / 1.092 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5857, allocations: 0 / 1.092 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001412/0.5858, allocations: 100.1 kB / 1.092 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5858, allocations: 10.22 kB / 1.092 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5858, allocations: 3.938 kB / 1.092 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5859, allocations: 1.312 kB / 1.092 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.586, allocations: 31.08 kB / 1.092 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.586, allocations: 0.9375 kB / 1.092 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.586, allocations: 1.25 kB / 1.092 GB, free: 38.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.586, allocations: 6.453 kB / 1.092 GB, free: 38.1 MB / 0.9948 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 4.459e-05/0.586, allocations: 117.7 kB / 1.092 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.5861, allocations: 11.61 kB / 1.092 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.5862, allocations: 121.6 kB / 1.092 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.5862, allocations: 1.094 kB / 1.092 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5863, allocations: 5.656 kB / 1.092 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5863, allocations: 0.6562 kB / 1.092 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.972e-05/0.5863, allocations: 121.8 kB / 1.092 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5863, allocations: 1.844 kB / 1.092 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.5864, allocations: 23.05 kB / 1.092 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5864, allocations: 0 / 1.092 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5864, allocations: 10.03 kB / 1.092 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.5864, allocations: 0 / 1.092 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5864, allocations: 1.781 kB / 1.092 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.5866, allocations: 153.5 kB / 1.093 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.5867, allocations: 12.44 kB / 1.093 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.5867, allocations: 5.094 kB / 1.093 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.5868, allocations: 18.36 kB / 1.093 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.5868, allocations: 7.797 kB / 1.093 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.5868, allocations: 12.23 kB / 1.093 GB, free: 37.72 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.16e-05/0.5868, allocations: 76.95 kB / 1.093 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5868, allocations: 0 / 1.093 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001628/0.5884, allocations: 0.5672 MB / 1.093 GB, free: 37.62 MB / 0.9948 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.002107/0.5905, allocations: 387.4 kB / 1.094 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001573/0.5907, allocations: 68.2 kB / 1.094 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5907, allocations: 0 / 1.094 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.5907, allocations: 37.19 kB / 1.094 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.5909, allocations: 9.719 kB / 1.094 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.5913, allocations: 292.9 kB / 1.094 GB, free: 37.27 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.701e-05/0.5913, allocations: 72.86 kB / 1.094 GB, free: 37.19 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.5913, allocations: 21.42 kB / 1.094 GB, free: 37.19 MB / 0.9948 GB Notification: Performance of SimCode: time 6.81e-07/0.5913, allocations: 0 / 1.094 GB, free: 37.19 MB / 0.9948 GB Notification: Performance of Templates: time 0.02694/0.6183, allocations: 14.46 MB / 1.108 GB, free: 36.38 MB / 0.9948 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/jenkins/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: 7.611925095319748]