Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.0009348/0.0009348, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001523/0.001523, allocations: 167.8 kB / 24.87 MB, free: 9.277 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.9375/0.9375, allocations: 177.1 MB / 205.3 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.808/1.808, allocations: 377.9 MB / 0.6247 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.38e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001655/0.001669, allocations: 1.297 MB / 0.814 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.002997, allocations: 1.366 MB / 0.8154 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.003018, allocations: 0.5625 kB / 0.8154 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.003035, allocations: 0 / 0.8154 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.00364, allocations: 231.8 kB / 0.8156 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 6.399e-05/0.003704, allocations: 32.8 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.343e-05/0.003748, allocations: 12.59 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.003783, allocations: 0 / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.003813, allocations: 12.86 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1286/0.1324, allocations: 51.69 MB / 0.8661 GB, free: 15.36 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1324, allocations: 0 / 0.8661 GB, free: 15.36 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.1324, allocations: 0 / 0.8661 GB, free: 15.36 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.1324, allocations: 11.98 kB / 0.8661 GB, free: 15.35 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.1324, allocations: 4 kB / 0.8661 GB, free: 15.35 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1326, allocations: 7.938 kB / 0.8661 GB, free: 15.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1326, allocations: 4 kB / 0.8661 GB, free: 15.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1326, allocations: 0 / 0.8661 GB, free: 15.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1326, allocations: 0 / 0.8661 GB, free: 15.34 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002436/0.1328, allocations: 356.6 kB / 0.8665 GB, free: 14.95 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1328, allocations: 8.031 kB / 0.8665 GB, free: 14.95 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.1329, allocations: 120.1 kB / 0.8666 GB, free: 14.83 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.133, allocations: 231.8 kB / 0.8668 GB, free: 14.57 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.1331, allocations: 238.8 kB / 0.8671 GB, free: 14.34 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.1331, allocations: 246.7 kB / 0.8673 GB, free: 14.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.117e-05/0.1332, allocations: 149.5 kB / 0.8674 GB, free: 13.95 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.1332, allocations: 119.4 kB / 0.8676 GB, free: 13.83 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.497e-05/0.1333, allocations: 246.5 kB / 0.8678 GB, free: 13.59 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.1333, allocations: 238.4 kB / 0.868 GB, free: 13.35 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.1334, allocations: 242.4 kB / 0.8682 GB, free: 13.11 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.1336, allocations: 0.5452 MB / 0.8688 GB, free: 12.54 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.654e-05/0.1337, allocations: 269.4 kB / 0.869 GB, free: 12.27 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.1337, allocations: 126.9 kB / 0.8692 GB, free: 12.14 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1338, allocations: 119.2 kB / 0.8693 GB, free: 12.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.1338, allocations: 168.6 kB / 0.8694 GB, free: 11.84 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.1338, allocations: 0 / 0.8694 GB, free: 11.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.663e-05/0.1339, allocations: 33.64 kB / 0.8695 GB, free: 11.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.134, allocations: 251.7 kB / 0.8697 GB, free: 11.53 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.134, allocations: 157.9 kB / 0.8699 GB, free: 11.36 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1341, allocations: 29.7 kB / 0.8699 GB, free: 11.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.1341, allocations: 130.9 kB / 0.87 GB, free: 11.19 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.12e-07/0.1341, allocations: 0 / 0.87 GB, free: 11.19 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.1341, allocations: 19.38 kB / 0.87 GB, free: 11.16 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1342, allocations: 496.1 kB / 0.8705 GB, free: 10.66 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-06/0.1343, allocations: 0 / 0.8705 GB, free: 10.66 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.1343, allocations: 108.2 kB / 0.8706 GB, free: 10.53 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/0.1343, allocations: 123.2 kB / 0.8707 GB, free: 10.41 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.851e-05/0.1344, allocations: 123.2 kB / 0.8708 GB, free: 10.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.183e-05/0.1344, allocations: 29.64 kB / 0.8709 GB, free: 10.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.1345, allocations: 127.2 kB / 0.871 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.1345, allocations: 119.2 kB / 0.8711 GB, free: 10.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.319e-05/0.1345, allocations: 242.4 kB / 0.8713 GB, free: 9.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.054e-05/0.1346, allocations: 131.2 kB / 0.8715 GB, free: 9.641 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-05/0.1346, allocations: 246.3 kB / 0.8717 GB, free: 9.398 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.1347, allocations: 131.1 kB / 0.8718 GB, free: 9.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.1348, allocations: 127.1 kB / 0.8719 GB, free: 9.145 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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.000129/0.1349, allocations: 399 kB / 0.8723 GB, free: 8.742 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.135, allocations: 144.9 kB / 0.8725 GB, free: 8.594 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.135, allocations: 156 kB / 0.8726 GB, free: 8.438 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/0.1351, allocations: 268.1 kB / 0.8729 GB, free: 8.168 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.254e-05/0.1351, allocations: 268 kB / 0.8731 GB, free: 7.898 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.508e-05/0.1352, allocations: 272 kB / 0.8734 GB, free: 7.625 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1354, allocations: 476.5 kB / 0.8738 GB, free: 7.125 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.648e-05/0.1354, allocations: 157 kB / 0.874 GB, free: 6.965 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.1354, allocations: 144.9 kB / 0.8741 GB, free: 6.816 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.156e-05/0.1355, allocations: 272 kB / 0.8744 GB, free: 6.543 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.1356, allocations: 268.1 kB / 0.8746 GB, free: 6.273 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.381e-05/0.1356, allocations: 268 kB / 0.8749 GB, free: 6.004 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.386e-05/0.1357, allocations: 272.1 kB / 0.8751 GB, free: 5.73 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.1358, allocations: 455.9 kB / 0.8756 GB, free: 5.258 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.1359, allocations: 152.8 kB / 0.8757 GB, free: 5.102 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.1359, allocations: 272 kB / 0.876 GB, free: 4.828 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.136, allocations: 148.9 kB / 0.8761 GB, free: 4.676 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.1361, allocations: 268.4 kB / 0.8764 GB, free: 4.406 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.1361, allocations: 152.8 kB / 0.8765 GB, free: 4.25 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.1362, allocations: 123.2 kB / 0.8766 GB, free: 4.129 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.1362, allocations: 4 kB / 0.8767 GB, free: 4.125 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001533/0.1363, allocations: 4 kB / 0.8767 GB, free: 4.121 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001405/0.1365, allocations: 222.3 kB / 0.8769 GB, free: 3.895 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.045e-05/0.1365, allocations: 8.031 kB / 0.8769 GB, free: 3.887 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1365, allocations: 0 / 0.8769 GB, free: 3.887 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.71e-07/0.1365, allocations: 0 / 0.8769 GB, free: 3.887 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1368, allocations: 0.7061 MB / 0.8776 GB, free: 3.176 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.1371, allocations: 217.7 kB / 0.8778 GB, free: 2.934 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.1371, allocations: 59.36 kB / 0.8778 GB, free: 2.855 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.1371, allocations: 0 / 0.8778 GB, free: 2.855 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.1372, allocations: 82.19 kB / 0.8779 GB, free: 2.773 MB / 0.823 GB Notification: Performance of SimCode: time 6.72e-07/0.1372, allocations: 0 / 0.8779 GB, free: 2.773 MB / 0.823 GB Notification: Performance of Templates: time 0.002014/0.1392, allocations: 0.6024 MB / 0.8785 GB, free: 2.172 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.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.118165912106633]