Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.0009651/0.0009651, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009478/0.0009478, allocations: 173 kB / 23.5 MB, free: 1.051 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.9789/0.9789, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.173/2.173, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10181,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10181,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.8781 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.994e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.007427/0.007457, allocations: 4.386 MB / 0.8824 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.1586, allocations: 146.3 MB / 1.025 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007933/0.1594, allocations: 27.75 kB / 1.025 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.1599, allocations: 182.4 kB / 1.025 GB, free: 15.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.1613, allocations: 0.532 MB / 1.026 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.1627, allocations: 0.7829 MB / 1.027 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1638, allocations: 1.331 MB / 1.028 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000487/0.1643, allocations: 325 kB / 1.028 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.1649, allocations: 0.6354 MB / 1.029 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.1653, allocations: 346.9 kB / 1.029 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.674e-05/0.1654, allocations: 108 kB / 1.029 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006768/0.1661, allocations: 415.4 kB / 1.03 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.1663, allocations: 267.1 kB / 1.03 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.1665, allocations: 339.1 kB / 1.03 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1676, allocations: 1.098 MB / 1.031 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1676, allocations: 0 / 1.031 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1676, allocations: 0 / 1.031 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.1676, allocations: 0 / 1.031 GB, free: 9.117 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001453/0.1691, allocations: 1.378 MB / 1.033 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1691, allocations: 12.03 kB / 1.033 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/0.1696, allocations: 216 kB / 1.033 GB, free: 7.477 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.1704, allocations: 0.6811 MB / 1.034 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.1704, allocations: 58.11 kB / 1.034 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.1705, allocations: 76 kB / 1.034 GB, free: 6.641 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/0.1713, allocations: 0.9206 MB / 1.035 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1713, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.648e-05/0.1714, allocations: 28 kB / 1.035 GB, free: 5.555 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.1714, allocations: 16 kB / 1.035 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.1721, allocations: 0.7331 MB / 1.035 GB, free: 4.805 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.1745, allocations: 2.544 MB / 1.038 GB, free: 2.184 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.1751, allocations: 442.9 kB / 1.038 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.1753, allocations: 149.3 kB / 1.039 GB, free: 1.574 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.1754, allocations: 36.62 kB / 1.039 GB, free: 1.539 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004239/0.1758, allocations: 404.2 kB / 1.039 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/0.1758, allocations: 3.938 kB / 1.039 GB, free: 1.105 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.0008807/0.1767, allocations: 0.6184 MB / 1.04 GB, free: 492 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1768, allocations: 252 kB / 1.04 GB, free: 184 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.1773, allocations: 0.5737 MB / 1.04 GB, free: 15.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.1773, allocations: 49.7 kB / 1.04 GB, free: 15.54 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.1775, allocations: 419.8 kB / 1.041 GB, free: 15.12 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.1777, allocations: 258 kB / 1.041 GB, free: 14.87 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.1778, allocations: 180.2 kB / 1.041 GB, free: 14.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.178, allocations: 0.5508 MB / 1.042 GB, free: 14.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.1782, allocations: 125.9 kB / 1.042 GB, free: 14 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.1785, allocations: 406.6 kB / 1.042 GB, free: 13.53 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.179, allocations: 373 kB / 1.043 GB, free: 13.15 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.179, allocations: 0 / 1.043 GB, free: 13.15 MB / 1.01 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0007101/0.1797, allocations: 0.5673 MB / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1797, allocations: 4 kB / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1797, allocations: 0 / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1798, allocations: 8 kB / 1.043 GB, free: 12.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.1801, allocations: 167.7 kB / 1.043 GB, free: 12.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1801, allocations: 8 kB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.1804, allocations: 77.56 kB / 1.043 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.1805, allocations: 44.11 kB / 1.043 GB, free: 12.27 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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.0002096/0.1807, allocations: 215 kB / 1.044 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.1808, allocations: 103.5 kB / 1.044 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008771/0.1817, allocations: 0.6895 MB / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1817, allocations: 8 kB / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1817, allocations: 0 / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1817, allocations: 3.984 kB / 1.044 GB, free: 11.24 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.1833, allocations: 1.549 MB / 1.046 GB, free: 9.629 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1833, allocations: 0 / 1.046 GB, free: 9.629 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.1835, allocations: 131.8 kB / 1.046 GB, free: 9.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1835, allocations: 8.031 kB / 1.046 GB, free: 9.492 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.1836, allocations: 23.98 kB / 1.046 GB, free: 9.469 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1836, allocations: 0 / 1.046 GB, free: 9.469 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.1836, allocations: 4 kB / 1.046 GB, free: 9.465 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.1843, allocations: 0.7488 MB / 1.047 GB, free: 8.695 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.1845, allocations: 187.1 kB / 1.047 GB, free: 8.512 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.1846, allocations: 23.98 kB / 1.047 GB, free: 8.488 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.1849, allocations: 39.97 kB / 1.047 GB, free: 8.449 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.185, allocations: 68.81 kB / 1.047 GB, free: 8.383 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.185, allocations: 35.98 kB / 1.047 GB, free: 8.348 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003145/0.1853, allocations: 387 kB / 1.048 GB, free: 7.973 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-07/0.1853, allocations: 0 / 1.048 GB, free: 7.973 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006469/0.186, allocations: 291.3 kB / 1.048 GB, free: 7.688 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001359/0.1873, allocations: 0.6277 MB / 1.048 GB, free: 7.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006539/0.188, allocations: 438.2 kB / 1.049 GB, free: 6.797 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.188, allocations: 0 / 1.049 GB, free: 6.797 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.1882, allocations: 243.6 kB / 1.049 GB, free: 6.559 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.1889, allocations: 296.5 kB / 1.049 GB, free: 6.285 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.191, allocations: 1.356 MB / 1.051 GB, free: 4.891 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.1911, allocations: 177.9 kB / 1.051 GB, free: 4.691 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000509/0.1916, allocations: 242.5 kB / 1.051 GB, free: 4.449 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.1918, allocations: 100.5 kB / 1.051 GB, free: 4.352 MB / 1.01 GB Notification: Performance of SimCode: time 1.183e-06/0.1918, allocations: 0 / 1.051 GB, free: 4.352 MB / 1.01 GB Notification: Performance of Templates: time 0.3622/0.554, allocations: 13.49 MB / 1.064 GB, free: 219.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.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: 6.416373782791197]