Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001261/0.001261, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009333/0.0009333, allocations: 181 kB / 23.36 MB, free: 1.133 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.9452/0.9452, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.266/2.266, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.098e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001617/0.001638, allocations: 1.298 MB / 0.8398 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.003035, allocations: 1.377 MB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.003055, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.00307, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.003714, allocations: 219.1 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.231e-05/0.003776, allocations: 31.95 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.319e-05/0.003819, allocations: 15.94 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.003854, allocations: 11.97 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.003884, allocations: 4 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1304/0.1343, allocations: 51.9 MB / 0.8921 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.1343, allocations: 4 kB / 0.8921 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-06/0.1343, allocations: 4 kB / 0.8921 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.1343, allocations: 7.922 kB / 0.8922 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.1344, allocations: 4 kB / 0.8922 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1345, allocations: 11.98 kB / 0.8922 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1345, allocations: 0 / 0.8922 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1345, allocations: 0 / 0.8922 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1345, allocations: 0 / 0.8922 GB, free: 11.57 MB / 0.8542 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.0002085/0.1347, allocations: 220.7 kB / 0.8924 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1347, allocations: 12.03 kB / 0.8924 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.1348, allocations: 80.16 kB / 0.8925 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.135e-05/0.1349, allocations: 185.1 kB / 0.8926 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.1349, allocations: 150.9 kB / 0.8928 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.135, allocations: 150.9 kB / 0.8929 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.696e-05/0.135, allocations: 109.5 kB / 0.893 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.135, allocations: 79.47 kB / 0.8931 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.1351, allocations: 154.7 kB / 0.8933 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.1351, allocations: 150.6 kB / 0.8934 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.1352, allocations: 154.5 kB / 0.8935 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.1353, allocations: 357.3 kB / 0.8939 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.812e-05/0.1354, allocations: 169.1 kB / 0.894 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.1354, allocations: 84.19 kB / 0.8941 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1354, allocations: 83.28 kB / 0.8942 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.1355, allocations: 113.8 kB / 0.8943 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1355, allocations: 0 / 0.8943 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.069e-05/0.1355, allocations: 29.64 kB / 0.8943 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.1356, allocations: 203.8 kB / 0.8945 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.1357, allocations: 110.6 kB / 0.8946 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.1357, allocations: 29.7 kB / 0.8947 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.1357, allocations: 80.14 kB / 0.8948 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.82e-07/0.1357, allocations: 0 / 0.8948 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.1357, allocations: 13.72 kB / 0.8948 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.1358, allocations: 322.8 kB / 0.8951 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-06/0.1358, allocations: 4 kB / 0.8951 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.062e-05/0.1359, allocations: 95.69 kB / 0.8952 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.1359, allocations: 75.28 kB / 0.8952 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.1359, allocations: 75.28 kB / 0.8953 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.659e-05/0.1359, allocations: 33.64 kB / 0.8953 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.136, allocations: 87.27 kB / 0.8954 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.136, allocations: 75.28 kB / 0.8955 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.583e-05/0.136, allocations: 158.5 kB / 0.8956 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-05/0.1361, allocations: 79.28 kB / 0.8957 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.702e-05/0.1361, allocations: 154.5 kB / 0.8959 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.643e-05/0.1362, allocations: 87.22 kB / 0.896 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1362, allocations: 79.28 kB / 0.896 GB, free: 7.398 MB / 0.8542 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.842e-05/0.1363, allocations: 264.4 kB / 0.8963 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1363, allocations: 104.9 kB / 0.8964 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.1364, allocations: 108.1 kB / 0.8965 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/0.1364, allocations: 180.2 kB / 0.8967 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-05/0.1365, allocations: 180.2 kB / 0.8968 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.993e-05/0.1365, allocations: 188.2 kB / 0.897 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1366, allocations: 313.4 kB / 0.8973 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/0.1367, allocations: 109 kB / 0.8974 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.1367, allocations: 112.9 kB / 0.8975 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.003e-05/0.1367, allocations: 176.3 kB / 0.8977 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.1368, allocations: 180.5 kB / 0.8979 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.591e-05/0.1368, allocations: 180.5 kB / 0.898 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.239e-05/0.1369, allocations: 176.3 kB / 0.8982 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.809e-05/0.137, allocations: 323.7 kB / 0.8985 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.137, allocations: 108.9 kB / 0.8986 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.1371, allocations: 184.2 kB / 0.8988 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1371, allocations: 109 kB / 0.8989 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.1372, allocations: 180.2 kB / 0.8991 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.1372, allocations: 101 kB / 0.8992 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.567e-05/0.1372, allocations: 16.86 kB / 0.8992 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1372, allocations: 0 / 0.8992 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001419/0.1374, allocations: 4 kB / 0.8992 GB, free: 3.992 MB / 0.8542 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.0001192/0.1375, allocations: 151.7 kB / 0.8993 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.285e-05/0.1375, allocations: 15.81 kB / 0.8993 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1375, allocations: 0 / 0.8993 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.1375, allocations: 0 / 0.8993 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.1377, allocations: 467.6 kB / 0.8998 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.138, allocations: 180 kB / 0.9 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.898e-05/0.1381, allocations: 51.36 kB / 0.9 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.1381, allocations: 0 / 0.9 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.1381, allocations: 63.36 kB / 0.9001 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.1381, allocations: 0 / 0.9001 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of Templates: time 0.001927/0.1401, allocations: 0.6015 MB / 0.9007 GB, free: 2.426 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.219046469312161]