Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009622/0.0009622, allocations: 77.88 kB / 20.68 MB, free: 3.809 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.0009377/0.0009377, allocations: 181 kB / 24.09 MB, free: 412 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 0.9359/0.9359, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.767/1.767, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.796e-05, allocations: 4.844 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002144/0.002162, allocations: 1.3 MB / 0.7888 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1141/0.1163, allocations: 130.9 MB / 0.9166 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.1163, allocations: 0 / 0.9166 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.1164, allocations: 3.938 kB / 0.9166 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 4.601e-05/0.1164, allocations: 11.98 kB / 0.9166 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.1173, allocations: 466.2 kB / 0.917 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 6.834e-05/0.1174, allocations: 43.84 kB / 0.9171 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.1174, allocations: 3.984 kB / 0.9171 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.1175, allocations: 27.92 kB / 0.9171 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.1176, allocations: 15.91 kB / 0.9171 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1176, allocations: 8 kB / 0.9171 GB, free: 7.059 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009022/0.1185, allocations: 0.7957 MB / 0.9179 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.1185, allocations: 11.97 kB / 0.9179 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.1185, allocations: 12 kB / 0.9179 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.119, allocations: 0.5691 MB / 0.9185 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.119, allocations: 0 / 0.9185 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.119, allocations: 0 / 0.9185 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.119, allocations: 0 / 0.9185 GB, free: 5.668 MB / 0.8698 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.0003652/0.1194, allocations: 396.1 kB / 0.9189 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1194, allocations: 11.97 kB / 0.9189 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.1195, allocations: 25.16 kB / 0.9189 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.168e-05/0.1196, allocations: 112.6 kB / 0.919 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1196, allocations: 4.375 kB / 0.919 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1196, allocations: 8.375 kB / 0.919 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1197, allocations: 135.3 kB / 0.9192 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1197, allocations: 3.938 kB / 0.9192 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.1197, allocations: 0 / 0.9192 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1197, allocations: 0 / 0.9192 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.1198, allocations: 15.98 kB / 0.9192 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.1199, allocations: 109.2 kB / 0.9193 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.12, allocations: 59.11 kB / 0.9193 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.12, allocations: 11.69 kB / 0.9193 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00473/0.1247, allocations: 2.47 MB / 0.9218 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1247, allocations: 33.39 kB / 0.9218 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1247, allocations: 0 / 0.9218 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.01477/0.1395, allocations: 6.342 MB / 0.928 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1395, allocations: 59.34 kB / 0.928 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/0.1396, allocations: 149.9 kB / 0.9282 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1396, allocations: 25.7 kB / 0.9282 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1398, allocations: 130.9 kB / 0.9283 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1398, allocations: 43.64 kB / 0.9284 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.1398, allocations: 39.34 kB / 0.9284 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.14, allocations: 0.4884 MB / 0.9289 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.14, allocations: 11.98 kB / 0.9289 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.14, allocations: 14.73 kB / 0.9289 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.14, allocations: 47.75 kB / 0.929 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.14, allocations: 0 / 0.929 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001221/0.1402, allocations: 101.6 kB / 0.9291 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1402, allocations: 7.938 kB / 0.9291 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1402, allocations: 0 / 0.9291 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1402, allocations: 4 kB / 0.9291 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.1403, allocations: 27.92 kB / 0.9291 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1403, allocations: 7.984 kB / 0.9291 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.1403, allocations: 0 / 0.9291 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1403, allocations: 8 kB / 0.9291 GB, free: 10.45 MB / 0.8855 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 6.253e-05/0.1404, allocations: 156.6 kB / 0.9293 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1404, allocations: 19.89 kB / 0.9293 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.1405, allocations: 117.3 kB / 0.9294 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1405, allocations: 0 / 0.9294 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.1405, allocations: 0 / 0.9294 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1405, allocations: 3.984 kB / 0.9294 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.932e-05/0.1406, allocations: 113.2 kB / 0.9295 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1406, allocations: 4 kB / 0.9295 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.1407, allocations: 27.98 kB / 0.9295 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1407, allocations: 4 kB / 0.9295 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1407, allocations: 0 / 0.9295 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1407, allocations: 0 / 0.9295 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1407, allocations: 3.938 kB / 0.9295 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.1409, allocations: 152.2 kB / 0.9297 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.1409, allocations: 11.98 kB / 0.9297 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.1409, allocations: 0 / 0.9297 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.141, allocations: 15.98 kB / 0.9297 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/0.141, allocations: 7.938 kB / 0.9297 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.141, allocations: 7.984 kB / 0.9297 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.941e-05/0.141, allocations: 127.2 kB / 0.9298 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.141, allocations: 0 / 0.9298 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001016/0.1421, allocations: 0.5621 MB / 0.9304 GB, free: 9.066 MB / 0.8855 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.00181/0.1439, allocations: 378.9 kB / 0.9308 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.71e-05/0.144, allocations: 62.66 kB / 0.9308 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.144, allocations: 4 kB / 0.9308 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.144, allocations: 35.67 kB / 0.9309 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.1441, allocations: 21.53 kB / 0.9309 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.1446, allocations: 285.1 kB / 0.9311 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.18e-05/0.1447, allocations: 63.91 kB / 0.9312 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.316e-05/0.1447, allocations: 24.61 kB / 0.9312 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.1448, allocations: 98.17 kB / 0.9313 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of SimCode: time 7.92e-07/0.1448, allocations: 0 / 0.9313 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of Templates: time 0.03105/0.1759, allocations: 27.02 MB / 0.9577 GB, free: 13.02 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.456144751049578]