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.00185/0.00185, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001249/0.001249, allocations: 177 kB / 23.49 MB, free: 1.055 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.8 MB, free: 5.645 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.129/2.129, allocations: 429.5 MB / 0.6736 GB, free: 4 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 2.024e-06/2.024e-06, allocations: 0 / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.953e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001862/0.001891, allocations: 1.309 MB / 0.8794 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1277/0.1296, allocations: 133.1 MB / 1.009 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.701e-05/0.1297, allocations: 0 / 1.009 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.1297, allocations: 0 / 1.009 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.1297, allocations: 7.984 kB / 1.009 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1309, allocations: 466.1 kB / 1.01 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.131, allocations: 47.84 kB / 1.01 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.131, allocations: 0 / 1.01 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.1311, allocations: 27.95 kB / 1.01 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/0.1312, allocations: 19.91 kB / 1.01 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1312, allocations: 4 kB / 1.01 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.1322, allocations: 0.7996 MB / 1.011 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.1323, allocations: 7.984 kB / 1.011 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.1323, allocations: 15.98 kB / 1.011 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.1328, allocations: 0.5612 MB / 1.011 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1328, allocations: 0 / 1.011 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1328, allocations: 0 / 1.011 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1328, allocations: 0 / 1.011 GB, free: 13.82 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.0004512/0.1333, allocations: 404.4 kB / 1.012 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1333, allocations: 8.031 kB / 1.012 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.1335, allocations: 28.84 kB / 1.012 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.724e-05/0.1336, allocations: 108.6 kB / 1.012 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1336, allocations: 4.375 kB / 1.012 GB, free: 13.22 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1336, allocations: 12.33 kB / 1.012 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1338, allocations: 127.3 kB / 1.012 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1338, allocations: 3.938 kB / 1.012 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1338, allocations: 0 / 1.012 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1338, allocations: 0 / 1.012 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.107e-05/0.1339, allocations: 27.91 kB / 1.012 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.134, allocations: 116.6 kB / 1.012 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 9.388e-05/0.1341, allocations: 55.05 kB / 1.012 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.1341, allocations: 19.67 kB / 1.012 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005446/0.1396, allocations: 2.887 MB / 1.015 GB, free: 9.902 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1396, allocations: 37.33 kB / 1.015 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.1396, allocations: 0 / 1.015 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.01919/0.1588, allocations: 8.143 MB / 1.023 GB, free: 1.578 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1588, allocations: 51.41 kB / 1.023 GB, free: 1.516 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.1589, allocations: 153.9 kB / 1.023 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1589, allocations: 29.7 kB / 1.023 GB, free: 1.312 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.159, allocations: 126.9 kB / 1.023 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.159, allocations: 43.58 kB / 1.023 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.1591, allocations: 39.5 kB / 1.023 GB, free: 1.094 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1592, allocations: 0.4922 MB / 1.024 GB, free: 0.5898 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.1592, allocations: 19.98 kB / 1.024 GB, free: 0.5703 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.1592, allocations: 12 kB / 1.024 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.7e-05/0.1593, allocations: 59.66 kB / 1.024 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1593, allocations: 0 / 1.024 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002595/0.1596, allocations: 101.5 kB / 1.024 GB, free: 400 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1596, allocations: 7.984 kB / 1.024 GB, free: 392 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1596, allocations: 4 kB / 1.024 GB, free: 388 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1596, allocations: 0 / 1.024 GB, free: 388 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.1597, allocations: 27.94 kB / 1.024 GB, free: 360 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1597, allocations: 4 kB / 1.024 GB, free: 356 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.1598, allocations: 0 / 1.024 GB, free: 356 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1598, allocations: 11.98 kB / 1.024 GB, free: 344 kB / 0.9792 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.864e-05/0.1598, allocations: 160.6 kB / 1.024 GB, free: 172 kB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.1599, allocations: 11.88 kB / 1.024 GB, free: 160 kB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.1601, allocations: 125.3 kB / 1.024 GB, free: 24 kB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1601, allocations: 4 kB / 1.024 GB, free: 20 kB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1601, allocations: 0 / 1.024 GB, free: 20 kB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1601, allocations: 0 / 1.024 GB, free: 20 kB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.1602, allocations: 128.6 kB / 1.025 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1602, allocations: 0 / 1.025 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-05/0.1603, allocations: 31.98 kB / 1.025 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1603, allocations: 0 / 1.025 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1603, allocations: 3.938 kB / 1.025 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1603, allocations: 0 / 1.025 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1603, allocations: 7.984 kB / 1.025 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1605, allocations: 148.3 kB / 1.025 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.1606, allocations: 15.94 kB / 1.025 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1606, allocations: 11.88 kB / 1.025 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.1607, allocations: 8 kB / 1.025 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.1607, allocations: 7.984 kB / 1.025 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.1607, allocations: 11.98 kB / 1.025 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.1608, allocations: 119.2 kB / 1.025 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1608, allocations: 0 / 1.025 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00169/0.1625, allocations: 0.5699 MB / 1.025 GB, free: 14.91 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.002131/0.1646, allocations: 378.8 kB / 1.026 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.1648, allocations: 70.84 kB / 1.026 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1648, allocations: 0 / 1.026 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.1648, allocations: 39.61 kB / 1.026 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.165, allocations: 27.91 kB / 1.026 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007472/0.1658, allocations: 281.7 kB / 1.026 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.1658, allocations: 63.34 kB / 1.026 GB, free: 14 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.86e-05/0.1659, allocations: 24.61 kB / 1.026 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.1659, allocations: 16.5 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of SimCode: time 1.252e-06/0.1659, allocations: 4 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of Templates: time 0.03239/0.1983, allocations: 26.1 MB / 1.052 GB, free: 3.863 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.429836592869833]