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.001899/0.001899, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002003/0.002003, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.025/3.025, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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 1.724e-06/1.724e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.915e-05, allocations: 6.781 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002433/0.002462, allocations: 1.285 MB / 0.7876 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1868/0.1893, allocations: 133.1 MB / 0.9176 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.1893, allocations: 0 / 0.9176 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.1893, allocations: 0 / 0.9176 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.1894, allocations: 11.86 kB / 0.9176 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.1907, allocations: 470.1 kB / 0.918 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 8.139e-05/0.1908, allocations: 35.86 kB / 0.918 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.1908, allocations: 4 kB / 0.9181 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.1909, allocations: 35.95 kB / 0.9181 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.815e-05/0.191, allocations: 15.97 kB / 0.9181 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.191, allocations: 4 kB / 0.9181 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.1926, allocations: 0.7957 MB / 0.9189 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.1926, allocations: 11.92 kB / 0.9189 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.1926, allocations: 15.98 kB / 0.9189 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009108/0.1936, allocations: 0.569 MB / 0.9195 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1936, allocations: 0 / 0.9195 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1936, allocations: 0 / 0.9195 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1936, allocations: 0 / 0.9195 GB, free: 4.086 MB / 0.8698 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.0005646/0.1941, allocations: 396.1 kB / 0.9198 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1942, allocations: 8.031 kB / 0.9198 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.1944, allocations: 24.83 kB / 0.9199 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1945, allocations: 112.6 kB / 0.92 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.1945, allocations: 16.31 kB / 0.92 GB, free: 3.48 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1945, allocations: 4.375 kB / 0.92 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.1947, allocations: 131.3 kB / 0.9201 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1948, allocations: 3.938 kB / 0.9201 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1948, allocations: 0 / 0.9201 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1948, allocations: 4 kB / 0.9201 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.1948, allocations: 15.98 kB / 0.9201 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.195, allocations: 120.6 kB / 0.9203 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1952, allocations: 62.97 kB / 0.9203 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.1952, allocations: 19.69 kB / 0.9203 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01226/0.2075, allocations: 2.883 MB / 0.9232 GB, free: 168 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.2075, allocations: 37.39 kB / 0.9232 GB, free: 120 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2075, allocations: 0 / 0.9232 GB, free: 120 kB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.04083/0.2483, allocations: 8.19 MB / 0.9312 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.2484, allocations: 51.41 kB / 0.9312 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2485, allocations: 157.9 kB / 0.9314 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2486, allocations: 25.7 kB / 0.9314 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.2486, allocations: 130.8 kB / 0.9315 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.2487, allocations: 47.64 kB / 0.9316 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.2488, allocations: 35.36 kB / 0.9316 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002843/0.249, allocations: 0.4884 MB / 0.9321 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.2491, allocations: 24.11 kB / 0.9321 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.2492, allocations: 26.98 kB / 0.9321 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.2493, allocations: 63.62 kB / 0.9322 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2493, allocations: 0 / 0.9322 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002606/0.2496, allocations: 121.4 kB / 0.9323 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2496, allocations: 8 kB / 0.9323 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2496, allocations: 0 / 0.9323 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2496, allocations: 0 / 0.9323 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2497, allocations: 27.98 kB / 0.9324 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2497, allocations: 0 / 0.9324 GB, free: 6.523 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.2498, allocations: 4 kB / 0.9324 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2498, allocations: 8 kB / 0.9324 GB, free: 6.512 MB / 0.8855 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.0001269/0.2499, allocations: 164.5 kB / 0.9325 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.25, allocations: 27.81 kB / 0.9326 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.2503, allocations: 113.6 kB / 0.9327 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2503, allocations: 0 / 0.9327 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2503, allocations: 0 / 0.9327 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2503, allocations: 3.984 kB / 0.9327 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.2504, allocations: 136.6 kB / 0.9328 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2504, allocations: 0 / 0.9328 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2506, allocations: 27.92 kB / 0.9328 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2506, allocations: 0 / 0.9328 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2506, allocations: 11.94 kB / 0.9328 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2506, allocations: 0 / 0.9328 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2506, allocations: 0 / 0.9328 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.2509, allocations: 160.3 kB / 0.933 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.251, allocations: 15.98 kB / 0.933 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.251, allocations: 3.938 kB / 0.933 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.2511, allocations: 15.98 kB / 0.933 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.2512, allocations: 7.984 kB / 0.933 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.2512, allocations: 8 kB / 0.933 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.2512, allocations: 123.1 kB / 0.9332 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.2512, allocations: 0 / 0.9332 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001766/0.253, allocations: 0.566 MB / 0.9337 GB, free: 5.066 MB / 0.8855 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.002951/0.256, allocations: 394.7 kB / 0.9341 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.2562, allocations: 68.28 kB / 0.9341 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2562, allocations: 4 kB / 0.9341 GB, free: 4.598 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.2563, allocations: 43.94 kB / 0.9342 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.2565, allocations: 24.27 kB / 0.9342 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006253/0.2571, allocations: 297.9 kB / 0.9345 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.349e-05/0.2572, allocations: 71.33 kB / 0.9346 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.884e-05/0.2573, allocations: 20.61 kB / 0.9346 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.2573, allocations: 16.5 kB / 0.9346 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of SimCode: time 6.71e-07/0.2574, allocations: 0 / 0.9346 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of Templates: time 0.04771/0.3051, allocations: 26.11 MB / 0.9601 GB, free: 9.977 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] 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: 12.36170289607253]