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.001298/0.001298, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001565/0.001565, allocations: 161 kB / 24.16 MB, free: 332 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.9779/0.9779, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.813/1.813, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.644e-06/1.644e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.577e-05, allocations: 6.312 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002783/0.002809, allocations: 1.306 MB / 0.7613 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.004813, allocations: 1.384 MB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.004834, allocations: 0 / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.004851, allocations: 0 / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008565/0.005708, allocations: 225.4 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.799e-05/0.005806, allocations: 28.83 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.254e-05/0.005858, allocations: 11.39 kB / 0.7629 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.005904, allocations: 9.422 kB / 0.7629 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.212e-05/0.005946, allocations: 10.14 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1554/0.1613, allocations: 51.91 MB / 0.8136 GB, free: 4.461 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1614, allocations: 3.984 kB / 0.8136 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.1614, allocations: 4 kB / 0.8136 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.1614, allocations: 0 / 0.8136 GB, free: 4.453 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.1614, allocations: 15.92 kB / 0.8136 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.1615, allocations: 8 kB / 0.8136 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1616, allocations: 0 / 0.8136 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1616, allocations: 0 / 0.8136 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1616, allocations: 0 / 0.8136 GB, free: 4.43 MB / 0.7605 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.0002043/0.1618, allocations: 225 kB / 0.8138 GB, free: 4.188 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1618, allocations: 8.031 kB / 0.8138 GB, free: 4.18 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.1618, allocations: 80.22 kB / 0.8139 GB, free: 4.102 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.171e-05/0.1619, allocations: 189 kB / 0.8141 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.162, allocations: 150.9 kB / 0.8142 GB, free: 3.742 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.162, allocations: 150.9 kB / 0.8144 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.336e-05/0.162, allocations: 105.5 kB / 0.8145 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1621, allocations: 79.41 kB / 0.8146 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.1621, allocations: 158.7 kB / 0.8147 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.1621, allocations: 150.6 kB / 0.8149 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.1622, allocations: 150.6 kB / 0.815 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.1623, allocations: 353.3 kB / 0.8153 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 6.384e-05/0.1624, allocations: 173.1 kB / 0.8155 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.1624, allocations: 84.12 kB / 0.8156 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1624, allocations: 79.28 kB / 0.8157 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.1624, allocations: 113.8 kB / 0.8158 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.1624, allocations: 7.938 kB / 0.8158 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0): time 5.373e-05/0.1625, allocations: 29.7 kB / 0.8158 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.1626, allocations: 203.8 kB / 0.816 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/0.1626, allocations: 106.6 kB / 0.8161 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.1626, allocations: 25.7 kB / 0.8161 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.1627, allocations: 88.12 kB / 0.8162 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.01e-07/0.1627, allocations: 0 / 0.8162 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.1627, allocations: 17.72 kB / 0.8162 GB, free: 1.594 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1628, allocations: 310.8 kB / 0.8165 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/0.1628, allocations: 7.938 kB / 0.8165 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/0.1628, allocations: 99.67 kB / 0.8166 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.884e-05/0.1629, allocations: 83.27 kB / 0.8167 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.1629, allocations: 75.28 kB / 0.8168 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.401e-05/0.1629, allocations: 29.7 kB / 0.8168 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.1629, allocations: 83.28 kB / 0.8169 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.163, allocations: 79.22 kB / 0.817 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.163, allocations: 150.7 kB / 0.8171 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-05/0.163, allocations: 87.28 kB / 0.8172 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.553e-05/0.1631, allocations: 158.5 kB / 0.8173 GB, free: 416 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.1632, allocations: 79.22 kB / 0.8174 GB, free: 336 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1632, allocations: 83.22 kB / 0.8175 GB, free: 252 kB / 0.7605 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 8.846e-05/0.1633, allocations: 260.4 kB / 0.8177 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.1633, allocations: 109 kB / 0.8178 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.1634, allocations: 108.1 kB / 0.8179 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-05/0.1634, allocations: 184.3 kB / 0.8181 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-05/0.1634, allocations: 176.3 kB / 0.8183 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/0.1635, allocations: 184.1 kB / 0.8185 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1636, allocations: 317.4 kB / 0.8188 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/0.1636, allocations: 112.9 kB / 0.8189 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.1636, allocations: 101 kB / 0.819 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/0.1638, allocations: 176.3 kB / 0.8191 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.1639, allocations: 192.2 kB / 0.8193 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.54e-05/0.1639, allocations: 180.2 kB / 0.8195 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.535e-05/0.1639, allocations: 184.2 kB / 0.8197 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.472e-05/0.164, allocations: 303.8 kB / 0.82 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.164, allocations: 108.9 kB / 0.8201 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.1641, allocations: 184.2 kB / 0.8202 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.658e-05/0.1642, allocations: 108.9 kB / 0.8203 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.1642, allocations: 184.6 kB / 0.8205 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.1642, allocations: 105 kB / 0.8206 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 1.231e-05/0.1642, allocations: 8.859 kB / 0.8206 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.1642, allocations: 3.938 kB / 0.8206 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001289/0.1644, allocations: 8 kB / 0.8206 GB, free: 12.84 MB / 0.7761 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.0001061/0.1645, allocations: 151.7 kB / 0.8208 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.771e-05/0.1645, allocations: 3.938 kB / 0.8208 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1645, allocations: 0 / 0.8208 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.1645, allocations: 0 / 0.8208 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.1647, allocations: 463.7 kB / 0.8212 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.1649, allocations: 168 kB / 0.8214 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.714e-05/0.1649, allocations: 55.3 kB / 0.8214 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.381e-05/0.1649, allocations: 8 kB / 0.8214 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.165, allocations: 67.34 kB / 0.8215 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.165, allocations: 0 / 0.8215 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of Templates: time 0.001933/0.1669, allocations: 0.5943 MB / 0.8221 GB, free: 11.29 MB / 0.7761 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.06928474502638]