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.00139/0.00139, allocations: 114.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.002055/0.002055, allocations: 191.9 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.514/1.514, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.8/2.8, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.002021/0.002021, allocations: 59.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.907/0.909, allocations: 168.7 MB / 1.274 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003206/0.9122, allocations: 1.264 MB / 1.275 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1879/1.1, allocations: 138.1 MB / 1.41 GB, free: 8.578 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/1.1, allocations: 0 / 1.41 GB, free: 8.578 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/1.1, allocations: 0 / 1.41 GB, free: 8.578 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.832e-05/1.1, allocations: 11.92 kB / 1.41 GB, free: 8.566 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/1.102, allocations: 476.9 kB / 1.411 GB, free: 8.102 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/1.102, allocations: 39.91 kB / 1.411 GB, free: 8.062 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/1.102, allocations: 0 / 1.411 GB, free: 8.062 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/1.102, allocations: 27.91 kB / 1.411 GB, free: 8.035 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/1.102, allocations: 19.92 kB / 1.411 GB, free: 8.016 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/1.102, allocations: 0 / 1.411 GB, free: 8.016 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/1.105, allocations: 0.831 MB / 1.411 GB, free: 7.184 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/1.105, allocations: 7.984 kB / 1.412 GB, free: 7.176 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/1.105, allocations: 19.86 kB / 1.412 GB, free: 7.156 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/1.106, allocations: 447 kB / 1.412 GB, free: 6.719 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/1.106, allocations: 4 kB / 1.412 GB, free: 6.715 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.134e-06/1.106, allocations: 0 / 1.412 GB, free: 6.715 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.106, allocations: 0 / 1.412 GB, free: 6.715 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.0007922/1.107, allocations: 371.2 kB / 1.412 GB, free: 6.305 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.107, allocations: 8.031 kB / 1.412 GB, free: 6.297 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/1.107, allocations: 16.92 kB / 1.412 GB, free: 6.281 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/1.107, allocations: 160.4 kB / 1.412 GB, free: 6.086 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/1.107, allocations: 8.359 kB / 1.412 GB, free: 6.078 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/1.107, allocations: 12.08 kB / 1.413 GB, free: 6.066 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/1.107, allocations: 53.67 kB / 1.413 GB, free: 6.008 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.107, allocations: 0 / 1.413 GB, free: 6.008 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/1.107, allocations: 7.938 kB / 1.413 GB, free: 6 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.107, allocations: 4 kB / 1.413 GB, free: 5.996 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/1.108, allocations: 19.92 kB / 1.413 GB, free: 5.977 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/1.108, allocations: 165.7 kB / 1.413 GB, free: 5.766 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/1.108, allocations: 46.56 kB / 1.413 GB, free: 5.711 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/1.108, allocations: 16.8 kB / 1.413 GB, free: 5.691 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01228/1.12, allocations: 3.205 MB / 1.416 GB, free: 2.391 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/1.12, allocations: 38.56 kB / 1.416 GB, free: 2.344 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/1.12, allocations: 0 / 1.416 GB, free: 2.344 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04606/1.166, allocations: 15 MB / 1.431 GB, free: 3.191 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.166, allocations: 55.41 kB / 1.431 GB, free: 3.125 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/1.166, allocations: 97.84 kB / 1.431 GB, free: 3.02 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/1.166, allocations: 29.7 kB / 1.431 GB, free: 2.984 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/1.167, allocations: 88.06 kB / 1.431 GB, free: 2.895 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.431e-05/1.167, allocations: 39.64 kB / 1.431 GB, free: 2.855 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/1.167, allocations: 33.72 kB / 1.431 GB, free: 2.816 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.167, allocations: 318.8 kB / 1.431 GB, free: 2.496 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/1.167, allocations: 20.12 kB / 1.431 GB, free: 2.477 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/1.167, allocations: 31.98 kB / 1.431 GB, free: 2.445 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/1.167, allocations: 58.34 kB / 1.431 GB, free: 2.387 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.167, allocations: 0 / 1.431 GB, free: 2.387 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002696/1.167, allocations: 112.6 kB / 1.431 GB, free: 2.273 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.167, allocations: 4 kB / 1.431 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.167, allocations: 0 / 1.431 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/1.167, allocations: 0 / 1.431 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/1.167, allocations: 27.98 kB / 1.431 GB, free: 2.242 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/1.167, allocations: 3.938 kB / 1.431 GB, free: 2.238 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/1.168, allocations: 4 kB / 1.431 GB, free: 2.234 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/1.168, allocations: 8 kB / 1.432 GB, free: 2.227 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.0001166/1.168, allocations: 125.7 kB / 1.432 GB, free: 2.094 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/1.168, allocations: 4 kB / 1.432 GB, free: 2.09 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/1.168, allocations: 121.5 kB / 1.432 GB, free: 1.969 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.168, allocations: 0 / 1.432 GB, free: 1.969 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.168, allocations: 4 kB / 1.432 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/1.168, allocations: 0 / 1.432 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/1.168, allocations: 173.6 kB / 1.432 GB, free: 1.746 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.168, allocations: 0 / 1.432 GB, free: 1.746 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/1.168, allocations: 35.92 kB / 1.432 GB, free: 1.711 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.168, allocations: 0 / 1.432 GB, free: 1.711 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/1.168, allocations: 4 kB / 1.432 GB, free: 1.707 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.168, allocations: 0 / 1.432 GB, free: 1.707 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.168, allocations: 0 / 1.432 GB, free: 1.707 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/1.169, allocations: 168.9 kB / 1.432 GB, free: 1.523 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/1.169, allocations: 93.09 kB / 1.432 GB, free: 1.414 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/1.169, allocations: 0 / 1.432 GB, free: 1.414 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/1.169, allocations: 11.98 kB / 1.432 GB, free: 1.402 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/1.169, allocations: 11.98 kB / 1.432 GB, free: 1.391 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.169, allocations: 4 kB / 1.432 GB, free: 1.387 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.306e-05/1.169, allocations: 83.28 kB / 1.432 GB, free: 1.305 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/1.169, allocations: 0 / 1.432 GB, free: 1.305 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002191/1.171, allocations: 0.5699 MB / 1.433 GB, free: 0.7344 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.004956/1.176, allocations: 347.3 kB / 1.433 GB, free: 392 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003799/1.177, allocations: 63.91 kB / 1.433 GB, free: 328 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.177, allocations: 0 / 1.433 GB, free: 328 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/1.177, allocations: 35.92 kB / 1.433 GB, free: 292 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/1.177, allocations: 12.48 kB / 1.433 GB, free: 280 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.178, allocations: 349.7 kB / 1.434 GB, free: 15.91 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/1.179, allocations: 0.6846 MB / 1.434 GB, free: 15.2 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001261/1.179, allocations: 20.55 kB / 1.434 GB, free: 15.18 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/1.179, allocations: 23.42 kB / 1.434 GB, free: 15.15 MB / 1.139 GB Notification: Performance of SimCode: time 1.252e-06/1.179, allocations: 0 / 1.434 GB, free: 15.15 MB / 1.139 GB Notification: Performance of Templates: time 0.05966/1.238, allocations: 24.3 MB / 1.458 GB, free: 6.82 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 cvode -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.210853612981737]