Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.001034/0.001034, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.002112/0.002112, allocations: 169 kB / 24.06 MB, free: 452 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 1.012/1.012, allocations: 177.1 MB / 204.5 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.157/2.157, allocations: 429.5 MB / 0.6743 GB, free: 3.891 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.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8793 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.983e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006432/0.006462, allocations: 4.332 MB / 0.8836 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1266/0.1331, allocations: 143.8 MB / 1.024 GB, free: 1.434 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008115/0.1339, allocations: 23.81 kB / 1.024 GB, free: 1.41 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.1345, allocations: 186.3 kB / 1.024 GB, free: 1.227 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.1361, allocations: 0.5359 MB / 1.025 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.1376, allocations: 0.7869 MB / 1.025 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.139, allocations: 1.323 MB / 1.027 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005905/0.1396, allocations: 323.4 kB / 1.027 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.1407, allocations: 0.6626 MB / 1.028 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004753/0.1412, allocations: 319 kB / 1.028 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1413, allocations: 96 kB / 1.028 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007579/0.142, allocations: 399.4 kB / 1.029 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.1423, allocations: 259.1 kB / 1.029 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.1425, allocations: 319.1 kB / 1.029 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.1439, allocations: 1.066 MB / 1.03 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1439, allocations: 0 / 1.03 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1439, allocations: 0 / 1.03 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.1439, allocations: 0 / 1.03 GB, free: 11.13 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.001618/0.1455, allocations: 1.378 MB / 1.031 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1455, allocations: 12.03 kB / 1.031 GB, free: 9.703 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000501/0.146, allocations: 212 kB / 1.032 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.1468, allocations: 0.6714 MB / 1.032 GB, free: 8.797 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.1468, allocations: 58.12 kB / 1.032 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.1469, allocations: 72 kB / 1.032 GB, free: 8.668 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006531/0.1475, allocations: 0.8084 MB / 1.033 GB, free: 7.746 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1475, allocations: 0 / 1.033 GB, free: 7.746 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.1476, allocations: 28 kB / 1.033 GB, free: 7.719 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.1476, allocations: 20 kB / 1.033 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.1482, allocations: 0.6251 MB / 1.034 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.1503, allocations: 2.412 MB / 1.036 GB, free: 4.594 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.1509, allocations: 390.7 kB / 1.037 GB, free: 4.188 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1511, allocations: 145.2 kB / 1.037 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.1511, allocations: 32.66 kB / 1.037 GB, free: 4.008 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.1515, allocations: 380 kB / 1.037 GB, free: 3.602 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 2.355e-06/0.1515, allocations: 0 / 1.037 GB, free: 3.602 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.0007158/0.1522, allocations: 0.552 MB / 1.038 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.1523, allocations: 248 kB / 1.038 GB, free: 2.746 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.1527, allocations: 0.5578 MB / 1.038 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.1527, allocations: 45.7 kB / 1.039 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.153, allocations: 423.7 kB / 1.039 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.1531, allocations: 257.8 kB / 1.039 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.1533, allocations: 180.2 kB / 1.039 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1534, allocations: 0.5703 MB / 1.04 GB, free: 0.6758 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1536, allocations: 89.91 kB / 1.04 GB, free: 0.5898 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.1538, allocations: 382.5 kB / 1.04 GB, free: 148 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1542, allocations: 313 kB / 1.041 GB, free: 15.82 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1542, allocations: 0 / 1.041 GB, free: 15.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.000583/0.1547, allocations: 0.5281 MB / 1.041 GB, free: 15.28 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.1548, allocations: 4 kB / 1.041 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1548, allocations: 0 / 1.041 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1548, allocations: 8 kB / 1.041 GB, free: 15.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.1552, allocations: 163.8 kB / 1.041 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1552, allocations: 4 kB / 1.041 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.1555, allocations: 71.55 kB / 1.041 GB, free: 15.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.1555, allocations: 31.97 kB / 1.041 GB, free: 15 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0003087/0.1558, allocations: 215.2 kB / 1.042 GB, free: 14.79 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.156, allocations: 111.4 kB / 1.042 GB, free: 14.68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007681/0.1567, allocations: 0.6388 MB / 1.042 GB, free: 14.04 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1567, allocations: 8 kB / 1.042 GB, free: 14.03 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1567, allocations: 0 / 1.042 GB, free: 14.03 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1568, allocations: 11.91 kB / 1.042 GB, free: 14.02 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.1582, allocations: 1.386 MB / 1.044 GB, free: 12.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.1582, allocations: 0 / 1.044 GB, free: 12.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/0.1585, allocations: 127.8 kB / 1.044 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.1585, allocations: 0 / 1.044 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.1586, allocations: 24.02 kB / 1.044 GB, free: 12.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1586, allocations: 8 kB / 1.044 GB, free: 12.42 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.1586, allocations: 7.984 kB / 1.044 GB, free: 12.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.1594, allocations: 0.698 MB / 1.045 GB, free: 11.69 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.1597, allocations: 175.2 kB / 1.045 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.1597, allocations: 27.92 kB / 1.045 GB, free: 11.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.16, allocations: 27.98 kB / 1.045 GB, free: 11.46 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.1601, allocations: 68.81 kB / 1.045 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.1601, allocations: 23.98 kB / 1.045 GB, free: 11.37 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002611/0.1604, allocations: 362.9 kB / 1.045 GB, free: 11.02 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.1604, allocations: 4 kB / 1.045 GB, free: 11.02 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006647/0.161, allocations: 283.3 kB / 1.046 GB, free: 10.74 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.001234/0.1623, allocations: 0.6331 MB / 1.046 GB, free: 10.28 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005359/0.1628, allocations: 374.2 kB / 1.046 GB, free: 9.91 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1628, allocations: 4 kB / 1.046 GB, free: 9.906 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.163, allocations: 223.2 kB / 1.047 GB, free: 9.691 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.1637, allocations: 299 kB / 1.047 GB, free: 9.414 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1657, allocations: 1.326 MB / 1.048 GB, free: 8.043 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.1658, allocations: 177.9 kB / 1.048 GB, free: 7.848 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004228/0.1662, allocations: 170.6 kB / 1.049 GB, free: 7.676 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.1667, allocations: 346 kB / 1.049 GB, free: 7.336 MB / 1.01 GB Notification: Performance of SimCode: time 1.282e-06/0.1667, allocations: 4 kB / 1.049 GB, free: 7.332 MB / 1.01 GB Notification: Performance of Templates: time 0.3866/0.5533, allocations: 14.59 MB / 1.063 GB, free: 73.86 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.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.550043561030179]