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.001026/0.001026, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001181/0.001181, allocations: 167 kB / 24.87 MB, free: 8.891 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.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.972/1.972, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.8127 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.894e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002816/0.002845, allocations: 1.316 MB / 0.814 GB, free: 172 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1294/0.1323, allocations: 130.8 MB / 0.9418 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.1323, allocations: 4 kB / 0.9418 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.1323, allocations: 3.938 kB / 0.9418 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.1324, allocations: 7.938 kB / 0.9418 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1335, allocations: 462.2 kB / 0.9422 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.72e-05/0.1336, allocations: 47.83 kB / 0.9423 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.1337, allocations: 3.938 kB / 0.9423 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.1337, allocations: 23.97 kB / 0.9423 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.1338, allocations: 19.97 kB / 0.9423 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1338, allocations: 4 kB / 0.9423 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.135, allocations: 0.7996 MB / 0.9431 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.135, allocations: 11.92 kB / 0.9431 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.135, allocations: 19.97 kB / 0.9432 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0006285/0.1356, allocations: 0.5574 MB / 0.9437 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1356, allocations: 0 / 0.9437 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1356, allocations: 3.938 kB / 0.9437 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1356, allocations: 0 / 0.9437 GB, free: 10.93 MB / 0.9011 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.0004119/0.1361, allocations: 400.1 kB / 0.9441 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1361, allocations: 8.031 kB / 0.9441 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.1362, allocations: 29.14 kB / 0.9441 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.296e-05/0.1363, allocations: 116.5 kB / 0.9442 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.1363, allocations: 8.375 kB / 0.9442 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1364, allocations: 4.375 kB / 0.9442 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1365, allocations: 127.3 kB / 0.9444 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1365, allocations: 3.938 kB / 0.9444 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1365, allocations: 0 / 0.9444 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1365, allocations: 0 / 0.9444 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.1365, allocations: 19.92 kB / 0.9444 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.1367, allocations: 105.2 kB / 0.9445 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.1367, allocations: 51.11 kB / 0.9445 GB, free: 9.949 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.1368, allocations: 19.69 kB / 0.9446 GB, free: 9.926 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005244/0.142, allocations: 2.454 MB / 0.947 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.142, allocations: 45.31 kB / 0.947 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.142, allocations: 4 kB / 0.947 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.01716/0.1592, allocations: 6.338 MB / 0.9532 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1592, allocations: 51.41 kB / 0.9532 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.1593, allocations: 153.9 kB / 0.9534 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1593, allocations: 25.7 kB / 0.9534 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.1594, allocations: 126.9 kB / 0.9535 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.1594, allocations: 43.62 kB / 0.9536 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.1594, allocations: 39.36 kB / 0.9536 GB, free: 464 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1596, allocations: 496.1 kB / 0.9541 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.1596, allocations: 24.05 kB / 0.9541 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.1596, allocations: 15.98 kB / 0.9541 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/0.1597, allocations: 43.67 kB / 0.9542 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1597, allocations: 3.938 kB / 0.9542 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001432/0.1598, allocations: 97.56 kB / 0.9543 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1599, allocations: 11.94 kB / 0.9543 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1599, allocations: 0 / 0.9543 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1599, allocations: 0 / 0.9543 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.1599, allocations: 31.92 kB / 0.9543 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.16, allocations: 0 / 0.9543 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.673e-05/0.16, allocations: 0 / 0.9543 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.16, allocations: 12 kB / 0.9543 GB, free: 15.71 MB / 0.9167 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 7.11e-05/0.16, allocations: 156.6 kB / 0.9545 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.1601, allocations: 15.89 kB / 0.9545 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.1603, allocations: 109.4 kB / 0.9546 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1603, allocations: 0 / 0.9546 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.1603, allocations: 4 kB / 0.9546 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1603, allocations: 7.984 kB / 0.9546 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.935e-05/0.1604, allocations: 109.2 kB / 0.9547 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1604, allocations: 0 / 0.9547 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.1604, allocations: 31.92 kB / 0.9547 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1604, allocations: 0 / 0.9547 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1604, allocations: 4 kB / 0.9547 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1604, allocations: 0 / 0.9547 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1605, allocations: 3.938 kB / 0.9547 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1606, allocations: 144.9 kB / 0.9549 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.1607, allocations: 15.98 kB / 0.9549 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.1607, allocations: 4 kB / 0.9549 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.1608, allocations: 7.984 kB / 0.9549 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.1608, allocations: 15.92 kB / 0.9549 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1608, allocations: 4 kB / 0.9549 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.009e-05/0.1608, allocations: 119.2 kB / 0.955 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1608, allocations: 0 / 0.955 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001758/0.1626, allocations: 0.5621 MB / 0.9556 GB, free: 14.35 MB / 0.9167 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.002286/0.1649, allocations: 393.5 kB / 0.956 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.165, allocations: 65.08 kB / 0.956 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.165, allocations: 0 / 0.956 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.165, allocations: 39.59 kB / 0.9561 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.1652, allocations: 24.05 kB / 0.9561 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.1658, allocations: 285 kB / 0.9564 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.1658, allocations: 63.34 kB / 0.9564 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.383e-05/0.1658, allocations: 20.61 kB / 0.9564 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.1659, allocations: 106.1 kB / 0.9565 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.032e-06/0.1659, allocations: 4 kB / 0.9565 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.03382/0.1998, allocations: 27.04 MB / 0.9829 GB, free: 2.254 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.085553442128003]