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.0009472/0.0009472, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001493/0.001493, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9965/0.9965, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.33/2.33, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.725e-06/2.725e-06, allocations: 3.984 kB / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.648e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001629/0.001645, allocations: 1.317 MB / 0.891 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1096/0.1112, allocations: 130.9 MB / 1.019 GB, free: 5.125 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.1113, allocations: 0 / 1.019 GB, free: 5.125 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.1113, allocations: 4 kB / 1.019 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.1113, allocations: 11.92 kB / 1.019 GB, free: 5.109 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1124, allocations: 466.1 kB / 1.019 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.1124, allocations: 35.91 kB / 1.019 GB, free: 4.617 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.1125, allocations: 7.922 kB / 1.019 GB, free: 4.609 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.1125, allocations: 23.98 kB / 1.019 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.1126, allocations: 19.97 kB / 1.019 GB, free: 4.566 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1126, allocations: 4 kB / 1.019 GB, free: 4.562 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.1139, allocations: 0.7996 MB / 1.02 GB, free: 3.762 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1139, allocations: 11.97 kB / 1.02 GB, free: 3.75 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.1139, allocations: 11.94 kB / 1.02 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.1144, allocations: 0.5691 MB / 1.021 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1144, allocations: 0 / 1.021 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1144, allocations: 0 / 1.021 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.1144, allocations: 0 / 1.021 GB, free: 3.168 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.0003578/0.1148, allocations: 400 kB / 1.021 GB, free: 2.742 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1148, allocations: 8.031 kB / 1.021 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.115, allocations: 24.86 kB / 1.021 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.115, allocations: 116.5 kB / 1.021 GB, free: 2.57 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.115, allocations: 4.375 kB / 1.021 GB, free: 2.566 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1151, allocations: 12.36 kB / 1.021 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1152, allocations: 135.3 kB / 1.021 GB, free: 2.398 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1152, allocations: 3.938 kB / 1.021 GB, free: 2.395 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1152, allocations: 0 / 1.021 GB, free: 2.395 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1152, allocations: 0 / 1.021 GB, free: 2.395 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.1152, allocations: 11.98 kB / 1.021 GB, free: 2.383 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.1153, allocations: 105.2 kB / 1.021 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 7.012e-05/0.1154, allocations: 55.11 kB / 1.022 GB, free: 2.188 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.1154, allocations: 19.69 kB / 1.022 GB, free: 2.164 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004414/0.1198, allocations: 2.466 MB / 1.024 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1199, allocations: 33.39 kB / 1.024 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1199, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.01517/0.135, allocations: 6.338 MB / 1.03 GB, free: 9.176 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.1351, allocations: 55.34 kB / 1.03 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.1351, allocations: 153.9 kB / 1.03 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.1351, allocations: 29.7 kB / 1.03 GB, free: 8.906 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.1352, allocations: 130.9 kB / 1.031 GB, free: 8.773 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1352, allocations: 39.64 kB / 1.031 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.1352, allocations: 43.34 kB / 1.031 GB, free: 8.684 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1354, allocations: 0.4884 MB / 1.031 GB, free: 8.184 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.1354, allocations: 16.11 kB / 1.031 GB, free: 8.168 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.1354, allocations: 18.98 kB / 1.031 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.925e-05/0.1355, allocations: 39.69 kB / 1.031 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1355, allocations: 0 / 1.031 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001282/0.1356, allocations: 101.6 kB / 1.031 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1356, allocations: 11.88 kB / 1.031 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1356, allocations: 0 / 1.031 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1356, allocations: 0 / 1.031 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.1357, allocations: 23.98 kB / 1.031 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.1357, allocations: 3.938 kB / 1.031 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.1357, allocations: 8 kB / 1.031 GB, free: 7.957 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.1357, allocations: 4 kB / 1.031 GB, free: 7.953 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.118e-05/0.1358, allocations: 160.6 kB / 1.031 GB, free: 7.785 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.1358, allocations: 11.94 kB / 1.031 GB, free: 7.773 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.136, allocations: 117.3 kB / 1.032 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.136, allocations: 4 kB / 1.032 GB, free: 7.648 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.136, allocations: 0 / 1.032 GB, free: 7.648 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.136, allocations: 7.984 kB / 1.032 GB, free: 7.641 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.581e-05/0.1361, allocations: 109.2 kB / 1.032 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1361, allocations: 0 / 1.032 GB, free: 7.508 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.1362, allocations: 23.98 kB / 1.032 GB, free: 7.484 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1362, allocations: 0 / 1.032 GB, free: 7.484 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1362, allocations: 8 kB / 1.032 GB, free: 7.477 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1362, allocations: 0 / 1.032 GB, free: 7.477 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1362, allocations: 3.938 kB / 1.032 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.1364, allocations: 148.2 kB / 1.032 GB, free: 7.305 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.1364, allocations: 11.94 kB / 1.032 GB, free: 7.293 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1364, allocations: 4 kB / 1.032 GB, free: 7.289 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.1365, allocations: 11.98 kB / 1.032 GB, free: 7.277 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.1365, allocations: 7.938 kB / 1.032 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1365, allocations: 11.98 kB / 1.032 GB, free: 7.258 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.1365, allocations: 119.2 kB / 1.032 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.1365, allocations: 0 / 1.032 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001105/0.1376, allocations: 0.5621 MB / 1.033 GB, free: 6.578 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.001864/0.1395, allocations: 393.2 kB / 1.033 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.1396, allocations: 66.09 kB / 1.033 GB, free: 6.121 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1396, allocations: 0 / 1.033 GB, free: 6.121 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.1396, allocations: 31.61 kB / 1.033 GB, free: 6.086 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.1398, allocations: 27.97 kB / 1.033 GB, free: 6.059 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.1406, allocations: 281.1 kB / 1.033 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.1406, allocations: 63.34 kB / 1.033 GB, free: 5.676 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.649e-05/0.1407, allocations: 20.61 kB / 1.033 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.1408, allocations: 102.2 kB / 1.034 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of SimCode: time 9.01e-07/0.1408, allocations: 0 / 1.034 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of Templates: time 0.4421/0.5829, allocations: 27.02 MB / 1.06 GB, free: 64.65 MB / 1.01 GB " [Timeout remaining time 299] 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: 6.258596672210842]