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.001547/0.001547, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001174/0.001174, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9815/0.9815, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.916/1.916, allocations: 377.9 MB / 0.6236 GB, free: 8.551 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.974e-06/1.974e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.36e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003244/0.003278, allocations: 1.32 MB / 0.8128 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1403/0.1435, allocations: 133.4 MB / 0.943 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.1436, allocations: 0 / 0.943 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1436, allocations: 7.984 kB / 0.943 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.1437, allocations: 0 / 0.943 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1447, allocations: 470.1 kB / 0.9435 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.311e-05/0.1448, allocations: 43.84 kB / 0.9435 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.1448, allocations: 3.984 kB / 0.9435 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.04e-05/0.1449, allocations: 31.91 kB / 0.9436 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.443e-05/0.1449, allocations: 7.984 kB / 0.9436 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1449, allocations: 4 kB / 0.9436 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.146, allocations: 0.8035 MB / 0.9444 GB, free: 9.301 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.146, allocations: 7.984 kB / 0.9444 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.1461, allocations: 15.98 kB / 0.9444 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.1466, allocations: 0.569 MB / 0.9449 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1466, allocations: 0 / 0.9449 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1466, allocations: 0 / 0.9449 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1466, allocations: 0 / 0.9449 GB, free: 8.707 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.0004224/0.147, allocations: 400.1 kB / 0.9453 GB, free: 8.281 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1471, allocations: 8.031 kB / 0.9453 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1472, allocations: 29.16 kB / 0.9453 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.559e-05/0.1473, allocations: 108.6 kB / 0.9455 GB, free: 8.113 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1473, allocations: 384 / 0.9455 GB, free: 8.113 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.1473, allocations: 8.375 kB / 0.9455 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1475, allocations: 131.3 kB / 0.9456 GB, free: 7.953 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1475, allocations: 3.938 kB / 0.9456 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1475, allocations: 0 / 0.9456 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1475, allocations: 7.938 kB / 0.9456 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.215e-05/0.1475, allocations: 15.98 kB / 0.9456 GB, free: 7.926 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.1477, allocations: 128.5 kB / 0.9457 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.1478, allocations: 58.97 kB / 0.9458 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.1478, allocations: 15.69 kB / 0.9458 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005432/0.1532, allocations: 2.883 MB / 0.9486 GB, free: 4.789 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1532, allocations: 41.33 kB / 0.9487 GB, free: 4.738 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1532, allocations: 0 / 0.9487 GB, free: 4.738 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.01847/0.1717, allocations: 8.14 MB / 0.9566 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.1717, allocations: 51.41 kB / 0.9567 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.1718, allocations: 157.9 kB / 0.9568 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1718, allocations: 29.7 kB / 0.9568 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.1719, allocations: 134.8 kB / 0.957 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.1719, allocations: 35.7 kB / 0.957 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.1719, allocations: 35.36 kB / 0.957 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.172, allocations: 0.4884 MB / 0.9575 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.1721, allocations: 15.98 kB / 0.9575 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.1721, allocations: 15.98 kB / 0.9575 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.736e-05/0.1722, allocations: 50.31 kB / 0.9576 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1722, allocations: 0 / 0.9576 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001551/0.1723, allocations: 109.5 kB / 0.9577 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1724, allocations: 14.94 kB / 0.9577 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1724, allocations: 0 / 0.9577 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.1724, allocations: 3.984 kB / 0.9577 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.1725, allocations: 31.92 kB / 0.9577 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1725, allocations: 0 / 0.9577 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.1725, allocations: 0 / 0.9577 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1725, allocations: 8 kB / 0.9577 GB, free: 11.22 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 6.879e-05/0.1726, allocations: 160.6 kB / 0.9579 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.1726, allocations: 15.83 kB / 0.9579 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.1728, allocations: 125.4 kB / 0.958 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1728, allocations: 0 / 0.958 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1728, allocations: 0 / 0.958 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1728, allocations: 0 / 0.958 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.364e-05/0.1729, allocations: 128.6 kB / 0.9582 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1729, allocations: 0 / 0.9582 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/0.173, allocations: 27.98 kB / 0.9582 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.173, allocations: 0 / 0.9582 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.173, allocations: 7.938 kB / 0.9582 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.173, allocations: 4 kB / 0.9582 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.173, allocations: 3.984 kB / 0.9582 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.1732, allocations: 156.2 kB / 0.9583 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.1732, allocations: 11.98 kB / 0.9584 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1733, allocations: 3.938 kB / 0.9584 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/0.1733, allocations: 11.98 kB / 0.9584 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.1733, allocations: 7.984 kB / 0.9584 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.1733, allocations: 8 kB / 0.9584 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.1734, allocations: 123.2 kB / 0.9585 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1734, allocations: 0 / 0.9585 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001265/0.1746, allocations: 0.566 MB / 0.9591 GB, free: 9.805 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.002153/0.1768, allocations: 390.8 kB / 0.9594 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.1769, allocations: 63.53 kB / 0.9595 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1769, allocations: 0 / 0.9595 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.177, allocations: 39.61 kB / 0.9595 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.1772, allocations: 28.59 kB / 0.9596 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.1778, allocations: 289 kB / 0.9598 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.1778, allocations: 63.92 kB / 0.9599 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.073e-05/0.1779, allocations: 24.59 kB / 0.9599 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.1779, allocations: 20.5 kB / 0.9599 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of SimCode: time 7.91e-07/0.1779, allocations: 0 / 0.9599 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of Templates: time 0.03022/0.2081, allocations: 26.1 MB / 0.9854 GB, free: 14.72 MB / 0.948 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: 7.895487531088293]