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.001122/0.001122, 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.001245/0.001245, allocations: 165 kB / 23.02 MB, free: 1.555 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.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.178/2.178, allocations: 429.5 MB / 0.6733 GB, free: 4.016 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.643e-06/1.643e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.341e-05, allocations: 2.969 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002459/0.002483, allocations: 1.318 MB / 0.8794 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.1349, allocations: 133.4 MB / 1.01 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.135, allocations: 0 / 1.01 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.135, allocations: 0 / 1.01 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.1351, allocations: 3.938 kB / 1.01 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1364, allocations: 470.2 kB / 1.01 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 8.953e-05/0.1365, allocations: 39.83 kB / 1.01 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.1365, allocations: 4 kB / 1.01 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.096e-05/0.1366, allocations: 31.89 kB / 1.01 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.1366, allocations: 15.98 kB / 1.01 GB, free: 14.63 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1367, allocations: 4 kB / 1.01 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.1377, allocations: 0.7957 MB / 1.011 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.1377, allocations: 7.984 kB / 1.011 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.1378, allocations: 23.97 kB / 1.011 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.1383, allocations: 0.5651 MB / 1.012 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1383, allocations: 0 / 1.012 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1383, allocations: 0 / 1.012 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1384, allocations: 4 kB / 1.012 GB, free: 13.23 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.0004799/0.1388, allocations: 400.4 kB / 1.012 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1389, allocations: 8.031 kB / 1.012 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1391, allocations: 20.86 kB / 1.012 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.1391, allocations: 108.6 kB / 1.012 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1392, allocations: 4.375 kB / 1.012 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.1392, allocations: 12.33 kB / 1.012 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1393, allocations: 127.3 kB / 1.012 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1394, allocations: 7.875 kB / 1.012 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1394, allocations: 11.94 kB / 1.012 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1394, allocations: 0 / 1.012 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.1394, allocations: 15.98 kB / 1.012 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1396, allocations: 120.6 kB / 1.012 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 8.913e-05/0.1397, allocations: 55.05 kB / 1.012 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.1397, allocations: 19.67 kB / 1.012 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005838/0.1455, allocations: 2.887 MB / 1.015 GB, free: 9.309 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1456, allocations: 37.39 kB / 1.015 GB, free: 9.262 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.1456, allocations: 3.984 kB / 1.015 GB, free: 9.258 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.01845/0.164, allocations: 8.132 MB / 1.023 GB, free: 0.9844 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.164, allocations: 51.41 kB / 1.023 GB, free: 0.9219 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.989e-05/0.1641, allocations: 165.9 kB / 1.023 GB, free: 0.7422 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1641, allocations: 25.7 kB / 1.023 GB, free: 0.7109 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.1642, allocations: 131 kB / 1.024 GB, free: 0.5781 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.1642, allocations: 43.64 kB / 1.024 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1642, allocations: 35.38 kB / 1.024 GB, free: 0.4922 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.1644, allocations: 496.1 kB / 1.024 GB, free: 16 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.1644, allocations: 16 kB / 1.024 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.1644, allocations: 19.98 kB / 1.024 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.948e-05/0.1645, allocations: 55.05 kB / 1.024 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1645, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001662/0.1647, allocations: 105.5 kB / 1.024 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1647, allocations: 6.031 kB / 1.024 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1647, allocations: 4 kB / 1.024 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1647, allocations: 7.938 kB / 1.024 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.1648, allocations: 23.98 kB / 1.024 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1648, allocations: 0 / 1.024 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.1648, allocations: 4 kB / 1.024 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1648, allocations: 4 kB / 1.024 GB, free: 15.75 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.202e-05/0.1649, allocations: 164.6 kB / 1.025 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.165, allocations: 11.88 kB / 1.025 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.1651, allocations: 133.3 kB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1651, allocations: 0 / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1652, allocations: 0 / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1652, allocations: 0 / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.652e-05/0.1653, allocations: 128.6 kB / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1653, allocations: 0 / 1.025 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.1653, allocations: 27.98 kB / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1653, allocations: 0 / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1653, allocations: 3.938 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1653, allocations: 4 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1654, allocations: 4 kB / 1.025 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.1656, allocations: 160.4 kB / 1.025 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1656, allocations: 11.94 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1656, allocations: 11.94 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.1657, allocations: 4 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.1657, allocations: 11.98 kB / 1.025 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.1657, allocations: 4 kB / 1.025 GB, free: 15 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.1657, allocations: 119.2 kB / 1.025 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1657, allocations: 0 / 1.025 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001128/0.1669, allocations: 0.5778 MB / 1.026 GB, free: 14.31 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.002036/0.1689, allocations: 382.8 kB / 1.026 GB, free: 13.92 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.169, allocations: 71.53 kB / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.169, allocations: 0 / 1.026 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.1691, allocations: 39.61 kB / 1.026 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.1692, allocations: 19.97 kB / 1.026 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.1699, allocations: 277.2 kB / 1.026 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.1699, allocations: 63.34 kB / 1.027 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.17, allocations: 24.61 kB / 1.027 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.17, allocations: 16.5 kB / 1.027 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of SimCode: time 8.32e-07/0.17, allocations: 0 / 1.027 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of Templates: time 0.02936/0.1994, allocations: 26.1 MB / 1.052 GB, free: 3.273 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: 8.486015657894313]