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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 191.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002322/0.002322, allocations: 67.89 kB / 1.109 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.8708, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003347/0.8742, allocations: 1.272 MB / 1.275 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1883/1.063, allocations: 138.1 MB / 1.41 GB, free: 8.637 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/1.063, allocations: 0 / 1.41 GB, free: 8.637 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/1.063, allocations: 7.922 kB / 1.41 GB, free: 8.629 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/1.063, allocations: 4 kB / 1.41 GB, free: 8.625 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/1.064, allocations: 476.9 kB / 1.411 GB, free: 8.16 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/1.064, allocations: 31.92 kB / 1.411 GB, free: 8.129 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/1.064, allocations: 0 / 1.411 GB, free: 8.129 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/1.065, allocations: 27.91 kB / 1.411 GB, free: 8.102 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/1.065, allocations: 19.92 kB / 1.411 GB, free: 8.082 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/1.065, allocations: 0 / 1.411 GB, free: 8.082 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/1.066, allocations: 0.831 MB / 1.411 GB, free: 7.25 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/1.067, allocations: 11.97 kB / 1.412 GB, free: 7.238 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/1.067, allocations: 11.94 kB / 1.412 GB, free: 7.227 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008141/1.067, allocations: 455 kB / 1.412 GB, free: 6.781 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.067, allocations: 0 / 1.412 GB, free: 6.781 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.734e-06/1.067, allocations: 0 / 1.412 GB, free: 6.781 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.067, allocations: 4 kB / 1.412 GB, free: 6.777 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.0006518/1.068, allocations: 371.2 kB / 1.412 GB, free: 6.367 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.068, allocations: 12.02 kB / 1.412 GB, free: 6.355 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/1.068, allocations: 8.938 kB / 1.412 GB, free: 6.348 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/1.068, allocations: 160.4 kB / 1.412 GB, free: 6.152 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/1.068, allocations: 4.375 kB / 1.412 GB, free: 6.148 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/1.068, allocations: 16.08 kB / 1.412 GB, free: 6.133 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/1.069, allocations: 49.67 kB / 1.413 GB, free: 6.078 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.069, allocations: 4 kB / 1.413 GB, free: 6.074 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/1.069, allocations: 4 kB / 1.413 GB, free: 6.07 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/1.069, allocations: 3.938 kB / 1.413 GB, free: 6.066 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/1.069, allocations: 23.91 kB / 1.413 GB, free: 6.043 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/1.069, allocations: 161.7 kB / 1.413 GB, free: 5.836 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/1.069, allocations: 46.56 kB / 1.413 GB, free: 5.781 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/1.069, allocations: 20.78 kB / 1.413 GB, free: 5.758 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/1.081, allocations: 3.209 MB / 1.416 GB, free: 2.453 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/1.082, allocations: 34.56 kB / 1.416 GB, free: 2.41 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 3.477e-06/1.082, allocations: 0 / 1.416 GB, free: 2.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04546/1.127, allocations: 15.01 MB / 1.431 GB, free: 3.25 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.127, allocations: 51.41 kB / 1.431 GB, free: 3.188 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/1.127, allocations: 93.86 kB / 1.431 GB, free: 3.086 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/1.127, allocations: 29.7 kB / 1.431 GB, free: 3.051 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/1.127, allocations: 84.08 kB / 1.431 GB, free: 2.965 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/1.127, allocations: 39.64 kB / 1.431 GB, free: 2.926 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/1.127, allocations: 37.7 kB / 1.431 GB, free: 2.883 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.127, allocations: 318.9 kB / 1.431 GB, free: 2.562 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/1.128, allocations: 23.98 kB / 1.431 GB, free: 2.539 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/1.128, allocations: 27.98 kB / 1.431 GB, free: 2.512 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/1.128, allocations: 52.86 kB / 1.431 GB, free: 2.457 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/1.128, allocations: 0 / 1.431 GB, free: 2.457 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002431/1.128, allocations: 119.8 kB / 1.431 GB, free: 2.336 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.128, allocations: 4 kB / 1.431 GB, free: 2.332 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.128, allocations: 0 / 1.431 GB, free: 2.332 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.128, allocations: 0 / 1.431 GB, free: 2.332 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.128, allocations: 27.98 kB / 1.431 GB, free: 2.305 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.128, allocations: 4 kB / 1.431 GB, free: 2.301 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/1.128, allocations: 4 kB / 1.431 GB, free: 2.297 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/1.128, allocations: 4 kB / 1.432 GB, free: 2.293 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.0001176/1.128, allocations: 121.7 kB / 1.432 GB, free: 2.164 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/1.128, allocations: 4 kB / 1.432 GB, free: 2.16 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/1.129, allocations: 129.5 kB / 1.432 GB, free: 2.031 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.129, allocations: 0 / 1.432 GB, free: 2.031 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.129, allocations: 7.922 kB / 1.432 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.129, allocations: 0 / 1.432 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/1.129, allocations: 177.6 kB / 1.432 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.129, allocations: 0 / 1.432 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/1.129, allocations: 31.92 kB / 1.432 GB, free: 1.77 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.129, allocations: 0 / 1.432 GB, free: 1.77 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.129, allocations: 7.984 kB / 1.432 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/1.129, allocations: 0 / 1.432 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.129, allocations: 4 kB / 1.432 GB, free: 1.758 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/1.129, allocations: 152.9 kB / 1.432 GB, free: 1.59 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/1.129, allocations: 93.09 kB / 1.432 GB, free: 1.48 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/1.129, allocations: 3.984 kB / 1.432 GB, free: 1.477 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/1.13, allocations: 8 kB / 1.432 GB, free: 1.469 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/1.13, allocations: 11.98 kB / 1.432 GB, free: 1.457 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/1.13, allocations: 8 kB / 1.432 GB, free: 1.449 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.884e-05/1.13, allocations: 79.28 kB / 1.432 GB, free: 1.371 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.13, allocations: 0 / 1.432 GB, free: 1.371 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001819/1.131, allocations: 0.5699 MB / 1.433 GB, free: 0.8008 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.0029/1.134, allocations: 351.3 kB / 1.433 GB, free: 456 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002055/1.135, allocations: 63.91 kB / 1.433 GB, free: 392 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.135, allocations: 4 kB / 1.433 GB, free: 388 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/1.135, allocations: 27.94 kB / 1.433 GB, free: 360 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/1.135, allocations: 22.11 kB / 1.433 GB, free: 340 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/1.135, allocations: 345.8 kB / 1.434 GB, free: 15.97 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.136, allocations: 0.6846 MB / 1.434 GB, free: 15.26 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.115e-05/1.136, allocations: 24.53 kB / 1.434 GB, free: 15.23 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/1.136, allocations: 15.44 kB / 1.434 GB, free: 15.22 MB / 1.139 GB Notification: Performance of SimCode: time 4.01e-07/1.136, allocations: 0 / 1.434 GB, free: 15.22 MB / 1.139 GB Notification: Performance of Templates: time 0.04007/1.176, allocations: 24.29 MB / 1.458 GB, free: 6.895 MB / 1.154 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 -s gbode -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_2/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: 15.046729997266084]