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.001066/0.001066, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001028/0.001028, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.113/1.113, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.276/2.276, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.275e-06/2.275e-06, allocations: 0 / 0.8793 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.624e-05, allocations: 5.125 kB / 0.8793 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002429/0.002465, allocations: 1.324 MB / 0.8806 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1358/0.1382, allocations: 130.9 MB / 1.008 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.1383, allocations: 0 / 1.008 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.1383, allocations: 3.938 kB / 1.008 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.1384, allocations: 7.922 kB / 1.008 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.1397, allocations: 466.1 kB / 1.009 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.1398, allocations: 43.84 kB / 1.009 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.1399, allocations: 11.98 kB / 1.009 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.14, allocations: 23.97 kB / 1.009 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.609e-05/0.14, allocations: 15.97 kB / 1.009 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.14, allocations: 3.938 kB / 1.009 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.1413, allocations: 0.7996 MB / 1.01 GB, free: 48 kB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.1413, allocations: 11.98 kB / 1.01 GB, free: 36 kB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.1413, allocations: 15.98 kB / 1.01 GB, free: 20 kB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.142, allocations: 0.5651 MB / 1.01 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1421, allocations: 4 kB / 1.01 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1421, allocations: 0 / 1.01 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1421, allocations: 0 / 1.01 GB, free: 15.45 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.0005456/0.1426, allocations: 396.4 kB / 1.011 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1426, allocations: 16.03 kB / 1.011 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.1428, allocations: 16.86 kB / 1.011 GB, free: 15 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.078e-05/0.1429, allocations: 116.5 kB / 1.011 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1429, allocations: 4.375 kB / 1.011 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1429, allocations: 12.33 kB / 1.011 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1431, allocations: 127.3 kB / 1.011 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1431, allocations: 3.938 kB / 1.011 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1431, allocations: 0 / 1.011 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1431, allocations: 4 kB / 1.011 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.1432, allocations: 11.98 kB / 1.011 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1433, allocations: 105.2 kB / 1.011 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.1434, allocations: 58.98 kB / 1.011 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.1434, allocations: 11.92 kB / 1.011 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00535/0.1487, allocations: 2.466 MB / 1.014 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.1488, allocations: 37.38 kB / 1.014 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.1488, allocations: 0 / 1.014 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of matching and sorting (n=11): time 0.01711/0.1659, allocations: 6.338 MB / 1.02 GB, free: 5.465 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.1659, allocations: 55.41 kB / 1.02 GB, free: 5.398 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.166, allocations: 149.9 kB / 1.02 GB, free: 5.234 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.166, allocations: 25.7 kB / 1.02 GB, free: 5.203 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.1661, allocations: 134.9 kB / 1.02 GB, free: 5.066 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.1661, allocations: 39.64 kB / 1.02 GB, free: 5.027 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.1661, allocations: 43.47 kB / 1.02 GB, free: 4.977 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1663, allocations: 0.4884 MB / 1.021 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.1663, allocations: 11.98 kB / 1.021 GB, free: 4.465 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.1663, allocations: 15.98 kB / 1.021 GB, free: 4.449 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.287e-05/0.1664, allocations: 39.62 kB / 1.021 GB, free: 4.406 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1664, allocations: 7.984 kB / 1.021 GB, free: 4.398 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00015/0.1665, allocations: 97.31 kB / 1.021 GB, free: 4.301 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1666, allocations: 7.938 kB / 1.021 GB, free: 4.293 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1666, allocations: 0 / 1.021 GB, free: 4.293 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1666, allocations: 4 kB / 1.021 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.1667, allocations: 27.98 kB / 1.021 GB, free: 4.262 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.1667, allocations: 4 kB / 1.021 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.1667, allocations: 0 / 1.021 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1667, allocations: 4 kB / 1.021 GB, free: 4.254 MB / 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 0.0002479/0.1669, allocations: 160.5 kB / 1.021 GB, free: 4.086 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.167, allocations: 19.89 kB / 1.021 GB, free: 4.066 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.1672, allocations: 105.5 kB / 1.021 GB, free: 3.953 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1672, allocations: 7.984 kB / 1.021 GB, free: 3.945 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1672, allocations: 3.938 kB / 1.021 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1672, allocations: 0 / 1.021 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.833e-05/0.1673, allocations: 109.2 kB / 1.021 GB, free: 3.809 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1673, allocations: 4 kB / 1.021 GB, free: 3.805 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.1674, allocations: 31.92 kB / 1.021 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1674, allocations: 0 / 1.021 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1674, allocations: 0 / 1.021 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1674, allocations: 0 / 1.021 GB, free: 3.773 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1674, allocations: 3.938 kB / 1.021 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.1676, allocations: 148.5 kB / 1.022 GB, free: 3.602 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.1676, allocations: 15.94 kB / 1.022 GB, free: 3.586 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1677, allocations: 0 / 1.022 GB, free: 3.586 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.1677, allocations: 11.98 kB / 1.022 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.1678, allocations: 19.86 kB / 1.022 GB, free: 3.555 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1678, allocations: 4 kB / 1.022 GB, free: 3.551 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.1678, allocations: 127.1 kB / 1.022 GB, free: 3.426 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1678, allocations: 0 / 1.022 GB, free: 3.426 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002143/0.17, allocations: 0.5621 MB / 1.022 GB, free: 2.863 MB / 0.9792 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.002603/0.1726, allocations: 381.5 kB / 1.023 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1728, allocations: 59.59 kB / 1.023 GB, free: 2.418 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1728, allocations: 3.938 kB / 1.023 GB, free: 2.414 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.1728, allocations: 39.66 kB / 1.023 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.1731, allocations: 15.98 kB / 1.023 GB, free: 2.355 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/0.1738, allocations: 289 kB / 1.023 GB, free: 2.047 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.1739, allocations: 63.91 kB / 1.023 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.758e-05/0.1739, allocations: 24.61 kB / 1.023 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1741, allocations: 102.2 kB / 1.023 GB, free: 1.84 MB / 0.9792 GB Notification: Performance of SimCode: time 1.413e-06/0.1741, allocations: 0 / 1.023 GB, free: 1.84 MB / 0.9792 GB Notification: Performance of Templates: time 0.0392/0.2133, allocations: 27.03 MB / 1.05 GB, free: 6.789 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.713703738991171]