Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001007/0.001007, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001193/0.001193, allocations: 169 kB / 23.02 MB, free: 1.551 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.039/2.039, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.052e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002219/0.00225, allocations: 1.319 MB / 0.8794 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1268/0.1291, allocations: 133.4 MB / 1.01 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.1291, allocations: 0 / 1.01 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.1291, allocations: 3.984 kB / 1.01 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.1292, allocations: 7.875 kB / 1.01 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.1306, allocations: 466.2 kB / 1.01 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 9.383e-05/0.1307, allocations: 39.84 kB / 1.01 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.1307, allocations: 7.984 kB / 1.01 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.238e-05/0.1308, allocations: 27.97 kB / 1.01 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.1309, allocations: 15.97 kB / 1.01 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1309, allocations: 4 kB / 1.01 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.1322, allocations: 0.7957 MB / 1.011 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.1322, allocations: 15.92 kB / 1.011 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.1322, allocations: 15.86 kB / 1.011 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007584/0.133, allocations: 0.5691 MB / 1.012 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.133, allocations: 0 / 1.012 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.573e-06/0.133, allocations: 0 / 1.012 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.133, allocations: 0 / 1.012 GB, free: 13.22 MB / 0.9792 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.0005344/0.1335, allocations: 404.3 kB / 1.012 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1336, allocations: 8.031 kB / 1.012 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.1338, allocations: 20.86 kB / 1.012 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.459e-05/0.1339, allocations: 108.6 kB / 1.012 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1339, allocations: 8.375 kB / 1.012 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.1339, allocations: 8.328 kB / 1.012 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1341, allocations: 135.3 kB / 1.012 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1341, allocations: 3.938 kB / 1.012 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1341, allocations: 4 kB / 1.012 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1341, allocations: 0 / 1.012 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.1342, allocations: 19.97 kB / 1.012 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.1343, allocations: 120.6 kB / 1.012 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.1344, allocations: 54.98 kB / 1.012 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.1345, allocations: 19.69 kB / 1.012 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005722/0.1402, allocations: 2.887 MB / 1.015 GB, free: 9.297 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1403, allocations: 37.39 kB / 1.015 GB, free: 9.25 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 2.374e-06/0.1403, allocations: 0 / 1.015 GB, free: 9.25 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.01864/0.1589, allocations: 8.105 MB / 1.023 GB, free: 1.004 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1589, allocations: 51.41 kB / 1.023 GB, free: 0.9414 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.159, allocations: 153.9 kB / 1.023 GB, free: 0.7734 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.159, allocations: 33.7 kB / 1.023 GB, free: 0.7344 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.1591, allocations: 126.9 kB / 1.024 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.1591, allocations: 39.64 kB / 1.024 GB, free: 0.5664 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1592, allocations: 35.38 kB / 1.024 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1593, allocations: 0.4884 MB / 1.024 GB, free: 24 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.1593, allocations: 19.98 kB / 1.024 GB, free: 4 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.614e-05/0.1594, allocations: 12.05 kB / 1.024 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.789e-05/0.1595, allocations: 51.25 kB / 1.024 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1595, allocations: 4 kB / 1.024 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000158/0.1596, allocations: 117.6 kB / 1.024 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1597, allocations: 7.938 kB / 1.024 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1597, allocations: 0 / 1.024 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1597, allocations: 4 kB / 1.024 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.1598, allocations: 24 kB / 1.024 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1598, allocations: 3.984 kB / 1.024 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.1598, allocations: 0 / 1.024 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1598, allocations: 4 kB / 1.024 GB, free: 15.77 MB / 0.9948 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.976e-05/0.1599, allocations: 164.5 kB / 1.025 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.1599, allocations: 15.88 kB / 1.025 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.1601, allocations: 121.5 kB / 1.025 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1601, allocations: 4 kB / 1.025 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1601, allocations: 0 / 1.025 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1601, allocations: 0 / 1.025 GB, free: 15.45 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1603, allocations: 128.6 kB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1603, allocations: 0 / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.1604, allocations: 23.98 kB / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.1604, allocations: 11.94 kB / 1.025 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1604, allocations: 15.88 kB / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1604, allocations: 0 / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1604, allocations: 0 / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1606, allocations: 144.3 kB / 1.025 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.1607, allocations: 15.98 kB / 1.025 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1607, allocations: 7.922 kB / 1.025 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.1607, allocations: 12 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.1607, allocations: 7.984 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1608, allocations: 11.98 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.1608, allocations: 123.2 kB / 1.025 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1608, allocations: 0 / 1.025 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001579/0.1624, allocations: 0.5582 MB / 1.026 GB, free: 14.34 MB / 0.9948 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.002226/0.1646, allocations: 378.7 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1648, allocations: 59.66 kB / 1.026 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1648, allocations: 0 / 1.026 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.1648, allocations: 39.61 kB / 1.026 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.165, allocations: 26.47 kB / 1.026 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.1657, allocations: 285.1 kB / 1.026 GB, free: 13.53 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.1657, allocations: 63.34 kB / 1.026 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.007e-05/0.1657, allocations: 20.61 kB / 1.027 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.1658, allocations: 16.5 kB / 1.027 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of SimCode: time 1.052e-06/0.1658, allocations: 0 / 1.027 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of Templates: time 0.03426/0.2, allocations: 27.24 MB / 1.053 GB, free: 2.152 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 10.679247740190476]