Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.001093/0.001093, allocations: 87.58 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.001966/0.001966, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.9756/0.9756, allocations: 177.1 MB / 204.2 MB, free: 5.305 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.872/1.872, allocations: 377.9 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.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.68e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004583/0.0046, allocations: 4.434 MB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1416/0.1462, allocations: 146.5 MB / 0.9589 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007314/0.1469, allocations: 23.81 kB / 0.9589 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.1475, allocations: 182.3 kB / 0.9591 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.1488, allocations: 0.5436 MB / 0.9596 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1502, allocations: 0.7868 MB / 0.9604 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.1515, allocations: 1.327 MB / 0.9617 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.1519, allocations: 323.4 kB / 0.962 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007873/0.1527, allocations: 0.6665 MB / 0.9627 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.153, allocations: 323 kB / 0.963 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.586e-05/0.1531, allocations: 92 kB / 0.9631 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006105/0.1537, allocations: 399.4 kB / 0.9634 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.1539, allocations: 259.1 kB / 0.9637 GB, free: 5.422 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.1542, allocations: 319.1 kB / 0.964 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.1552, allocations: 1.062 MB / 0.965 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1552, allocations: 4 kB / 0.965 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1552, allocations: 0 / 0.965 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.1552, allocations: 4 kB / 0.965 GB, free: 4.035 MB / 0.9167 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.001302/0.1565, allocations: 1.355 MB / 0.9664 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1566, allocations: 12.03 kB / 0.9664 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004569/0.157, allocations: 223.9 kB / 0.9666 GB, free: 2.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.1577, allocations: 0.6675 MB / 0.9672 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.1577, allocations: 58.12 kB / 0.9673 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.1578, allocations: 76 kB / 0.9674 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.1586, allocations: 0.8476 MB / 0.9682 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.1587, allocations: 0 / 0.9682 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1587, allocations: 28 kB / 0.9682 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.1587, allocations: 16 kB / 0.9682 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.1594, allocations: 0.7176 MB / 0.9689 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1614, allocations: 2.513 MB / 0.9714 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.162, allocations: 446.7 kB / 0.9718 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.1622, allocations: 165.3 kB / 0.972 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.1623, allocations: 20.64 kB / 0.972 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003732/0.1626, allocations: 398.7 kB / 0.9724 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 1.813e-06/0.1626, allocations: 0 / 0.9724 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78): time 0.0008091/0.1635, allocations: 0.6236 MB / 0.973 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.1636, allocations: 251.9 kB / 0.9732 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.164, allocations: 0.5699 MB / 0.9738 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.164, allocations: 49.64 kB / 0.9738 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.1642, allocations: 411.9 kB / 0.9742 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1644, allocations: 261.8 kB / 0.9745 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.1646, allocations: 176.2 kB / 0.9746 GB, free: 9.773 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1648, allocations: 0.5587 MB / 0.9752 GB, free: 9.203 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.165, allocations: 125.9 kB / 0.9753 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.1653, allocations: 406.6 kB / 0.9757 GB, free: 8.617 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.1657, allocations: 361 kB / 0.976 GB, free: 8.242 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1657, allocations: 0 / 0.976 GB, free: 8.242 MB / 0.9323 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0006227/0.1663, allocations: 0.5712 MB / 0.9766 GB, free: 7.668 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1663, allocations: 7.984 kB / 0.9766 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1663, allocations: 4 kB / 0.9766 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1663, allocations: 4 kB / 0.9766 GB, free: 7.652 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.1667, allocations: 163.8 kB / 0.9768 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1667, allocations: 4 kB / 0.9768 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.1669, allocations: 69.67 kB / 0.9768 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.1669, allocations: 35.97 kB / 0.9769 GB, free: 7.387 MB / 0.9323 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.0001718/0.1671, allocations: 223 kB / 0.9771 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-05/0.1672, allocations: 107.5 kB / 0.9772 GB, free: 7.051 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007947/0.168, allocations: 0.6819 MB / 0.9779 GB, free: 6.359 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.168, allocations: 15.94 kB / 0.9779 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.168, allocations: 0 / 0.9779 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.168, allocations: 7.969 kB / 0.9779 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.1693, allocations: 1.534 MB / 0.9794 GB, free: 4.738 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1694, allocations: 0 / 0.9794 GB, free: 4.738 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.1696, allocations: 131.8 kB / 0.9795 GB, free: 4.609 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1696, allocations: 4 kB / 0.9795 GB, free: 4.605 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.1696, allocations: 24.02 kB / 0.9795 GB, free: 4.582 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1696, allocations: 4 kB / 0.9795 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1696, allocations: 0 / 0.9795 GB, free: 4.578 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.1703, allocations: 0.7488 MB / 0.9803 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.1705, allocations: 187.1 kB / 0.9804 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.1705, allocations: 27.98 kB / 0.9805 GB, free: 3.598 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1707, allocations: 31.97 kB / 0.9805 GB, free: 3.566 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.1708, allocations: 64.83 kB / 0.9806 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.1708, allocations: 31.92 kB / 0.9806 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002664/0.1711, allocations: 383 kB / 0.981 GB, free: 3.102 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.1711, allocations: 4 kB / 0.981 GB, free: 3.098 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004572/0.1716, allocations: 295.2 kB / 0.9812 GB, free: 2.809 MB / 0.9323 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 (89): * Single equations (assignments): 79 * 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.00128/0.1728, allocations: 0.625 MB / 0.9818 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005077/0.1733, allocations: 430.2 kB / 0.9823 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1733, allocations: 0 / 0.9823 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.1736, allocations: 251.2 kB / 0.9825 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.1742, allocations: 292.4 kB / 0.9828 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.1759, allocations: 1.357 MB / 0.9841 GB, free: 12 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.176, allocations: 177.9 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003765/0.1764, allocations: 238.5 kB / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1765, allocations: 108.5 kB / 0.9846 GB, free: 15.47 MB / 0.948 GB Notification: Performance of SimCode: time 8.41e-07/0.1765, allocations: 0 / 0.9846 GB, free: 15.47 MB / 0.948 GB Notification: Performance of Templates: time 0.01606/0.1926, allocations: 14.16 MB / 0.9984 GB, free: 1.621 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.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.642876591999084]