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.001561/0.001561, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.002215/0.002215, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9507/0.9507, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.816/1.816, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.944e-06/1.944e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.347e-05, allocations: 10.19 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001919/0.001953, allocations: 1.294 MB / 0.8128 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.003534, allocations: 1.374 MB / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.003558, allocations: 0 / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.003584, allocations: 0 / 0.8141 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007282/0.004312, allocations: 224.4 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.103e-05/0.004383, allocations: 31.89 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.004443, allocations: 12.59 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.004492, allocations: 4 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.00454, allocations: 17.31 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1266/0.1312, allocations: 51.69 MB / 0.8649 GB, free: 15.61 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1312, allocations: 0 / 0.8649 GB, free: 15.61 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.1312, allocations: 4 kB / 0.8649 GB, free: 15.61 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.1312, allocations: 0 / 0.8649 GB, free: 15.61 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.1313, allocations: 3.938 kB / 0.8649 GB, free: 15.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1314, allocations: 23.91 kB / 0.8649 GB, free: 15.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1314, allocations: 0 / 0.8649 GB, free: 15.58 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1314, allocations: 0 / 0.8649 GB, free: 15.58 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.1314, allocations: 0 / 0.8649 GB, free: 15.58 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.0003629/0.1318, allocations: 344.7 kB / 0.8653 GB, free: 15.21 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.1319, allocations: 8.031 kB / 0.8653 GB, free: 15.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.1319, allocations: 124.1 kB / 0.8654 GB, free: 15.08 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.1321, allocations: 231.8 kB / 0.8656 GB, free: 14.82 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.1321, allocations: 242.8 kB / 0.8658 GB, free: 14.59 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.1322, allocations: 242.7 kB / 0.8661 GB, free: 14.35 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.11e-05/0.1323, allocations: 145.5 kB / 0.8662 GB, free: 14.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.1323, allocations: 123.4 kB / 0.8663 GB, free: 14.08 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-05/0.1324, allocations: 246.5 kB / 0.8666 GB, free: 13.84 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/0.1324, allocations: 238.4 kB / 0.8668 GB, free: 13.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.047e-05/0.1325, allocations: 238.4 kB / 0.867 GB, free: 13.37 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.1327, allocations: 0.572 MB / 0.8676 GB, free: 12.76 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1328, allocations: 265.4 kB / 0.8678 GB, free: 12.49 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.1329, allocations: 130.9 kB / 0.8679 GB, free: 12.36 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.1329, allocations: 119.2 kB / 0.8681 GB, free: 12.24 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.133, allocations: 156.6 kB / 0.8682 GB, free: 12.07 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.133, allocations: 0 / 0.8682 GB, free: 12.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.739e-05/0.133, allocations: 37.64 kB / 0.8682 GB, free: 12.03 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.1331, allocations: 255.6 kB / 0.8685 GB, free: 11.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1332, allocations: 157.9 kB / 0.8686 GB, free: 11.58 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1333, allocations: 25.7 kB / 0.8687 GB, free: 11.55 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.1333, allocations: 134.9 kB / 0.8688 GB, free: 11.41 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.1333, allocations: 0 / 0.8688 GB, free: 11.41 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.1333, allocations: 19.38 kB / 0.8688 GB, free: 11.38 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1335, allocations: 492.1 kB / 0.8693 GB, free: 10.89 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-06/0.1335, allocations: 0 / 0.8693 GB, free: 10.89 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.1335, allocations: 116.1 kB / 0.8694 GB, free: 10.75 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.111e-05/0.1336, allocations: 119.2 kB / 0.8695 GB, free: 10.63 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.021e-05/0.1336, allocations: 123.2 kB / 0.8696 GB, free: 10.51 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.286e-05/0.1336, allocations: 33.64 kB / 0.8697 GB, free: 10.47 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.1337, allocations: 123.2 kB / 0.8698 GB, free: 10.35 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/0.1337, allocations: 123.2 kB / 0.8699 GB, free: 10.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-05/0.1338, allocations: 238.4 kB / 0.8701 GB, free: 9.992 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.663e-05/0.1338, allocations: 135.2 kB / 0.8702 GB, free: 9.859 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.557e-05/0.1339, allocations: 242.4 kB / 0.8705 GB, free: 9.621 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.134, allocations: 131.1 kB / 0.8706 GB, free: 9.492 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.1341, allocations: 123.2 kB / 0.8707 GB, free: 9.371 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.0001475/0.1342, allocations: 391 kB / 0.8711 GB, free: 8.977 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.1343, allocations: 152.9 kB / 0.8712 GB, free: 8.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.17e-05/0.1344, allocations: 156 kB / 0.8714 GB, free: 8.664 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.04e-05/0.1344, allocations: 272.3 kB / 0.8716 GB, free: 8.391 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.598e-05/0.1345, allocations: 272 kB / 0.8719 GB, free: 8.117 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-05/0.1346, allocations: 264.1 kB / 0.8722 GB, free: 7.852 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.1348, allocations: 499.9 kB / 0.8726 GB, free: 7.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.59e-05/0.1348, allocations: 152.8 kB / 0.8728 GB, free: 7.164 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.1349, allocations: 148.9 kB / 0.8729 GB, free: 7.012 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.143e-05/0.1349, allocations: 268 kB / 0.8732 GB, free: 6.742 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-05/0.135, allocations: 268.1 kB / 0.8734 GB, free: 6.473 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.386e-05/0.1351, allocations: 268.1 kB / 0.8737 GB, free: 6.203 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.365e-05/0.1351, allocations: 276 kB / 0.874 GB, free: 5.926 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.1353, allocations: 451.9 kB / 0.8744 GB, free: 5.457 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1353, allocations: 152.8 kB / 0.8745 GB, free: 5.301 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.092e-05/0.1354, allocations: 272 kB / 0.8748 GB, free: 5.027 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.1355, allocations: 144.9 kB / 0.8749 GB, free: 4.879 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.1356, allocations: 276.3 kB / 0.8752 GB, free: 4.602 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.1356, allocations: 152.8 kB / 0.8753 GB, free: 4.445 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.1356, allocations: 119.2 kB / 0.8754 GB, free: 4.328 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.1356, allocations: 4 kB / 0.8755 GB, free: 4.324 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001713/0.1358, allocations: 0 / 0.8755 GB, free: 4.324 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.0001381/0.136, allocations: 218.4 kB / 0.8757 GB, free: 4.102 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.361e-05/0.136, allocations: 8.031 kB / 0.8757 GB, free: 4.094 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.136, allocations: 0 / 0.8757 GB, free: 4.094 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.136, allocations: 3.938 kB / 0.8757 GB, free: 4.09 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1364, allocations: 0.7139 MB / 0.8764 GB, free: 3.371 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.1367, allocations: 213.6 kB / 0.8766 GB, free: 3.133 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.194e-05/0.1367, allocations: 55.36 kB / 0.8766 GB, free: 3.059 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.1368, allocations: 4 kB / 0.8766 GB, free: 3.055 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.1368, allocations: 8.5 kB / 0.8766 GB, free: 3.047 MB / 0.823 GB Notification: Performance of SimCode: time 9.82e-07/0.1368, allocations: 0 / 0.8766 GB, free: 3.047 MB / 0.823 GB Notification: Performance of Templates: time 0.002208/0.139, allocations: 0.5749 MB / 0.8772 GB, free: 2.477 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.325179594103247]