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.0009996/0.0009996, 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.00106/0.00106, allocations: 173 kB / 23.5 MB, free: 1.055 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 1.077/1.077, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.096/2.096, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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 2.014e-06/2.014e-06, allocations: 5.141 kB / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.386e-05, allocations: 6.125 kB / 0.8781 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006978/0.007012, allocations: 4.383 MB / 0.8824 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.1639, allocations: 146.3 MB / 1.025 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000835/0.1648, allocations: 23.81 kB / 1.025 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006157/0.1654, allocations: 186.3 kB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.167, allocations: 0.5321 MB / 1.026 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.1686, allocations: 0.7868 MB / 1.027 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.1699, allocations: 1.327 MB / 1.028 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.1706, allocations: 323.4 kB / 1.028 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009053/0.1715, allocations: 0.6353 MB / 1.029 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.173, allocations: 347 kB / 1.029 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003367/0.1734, allocations: 108 kB / 1.029 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.1744, allocations: 411.4 kB / 1.03 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.1747, allocations: 271.1 kB / 1.03 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004096/0.1751, allocations: 343.1 kB / 1.03 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.1766, allocations: 1.086 MB / 1.031 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1766, allocations: 4 kB / 1.031 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1766, allocations: 0 / 1.031 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.1766, allocations: 3.938 kB / 1.031 GB, free: 9.109 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.001502/0.1781, allocations: 1.367 MB / 1.033 GB, free: 7.703 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.1782, allocations: 16.03 kB / 1.033 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.1787, allocations: 219.9 kB / 1.033 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007574/0.1795, allocations: 0.6811 MB / 1.034 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.1795, allocations: 58.12 kB / 1.034 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.1796, allocations: 72 kB / 1.034 GB, free: 6.641 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.1804, allocations: 0.9207 MB / 1.035 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1804, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.1805, allocations: 28 kB / 1.035 GB, free: 5.555 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.1805, allocations: 19.94 kB / 1.035 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.1813, allocations: 0.7254 MB / 1.035 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.184, allocations: 2.555 MB / 1.038 GB, free: 2.18 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/0.1849, allocations: 447 kB / 1.038 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.1852, allocations: 153.2 kB / 1.039 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.33e-05/0.1853, allocations: 32.62 kB / 1.039 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006549/0.186, allocations: 400.1 kB / 1.039 GB, free: 1.105 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 4.669e-06/0.186, allocations: 0 / 1.039 GB, free: 1.105 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.00138/0.1874, allocations: 0.6223 MB / 1.04 GB, free: 488 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.1875, allocations: 248 kB / 1.04 GB, free: 184 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/0.1882, allocations: 0.5815 MB / 1.04 GB, free: 15.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.1883, allocations: 45.7 kB / 1.04 GB, free: 15.54 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.1886, allocations: 415.8 kB / 1.041 GB, free: 15.12 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.1888, allocations: 261.9 kB / 1.041 GB, free: 14.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.189, allocations: 172.4 kB / 1.041 GB, free: 14.69 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.1893, allocations: 0.5625 MB / 1.042 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.1895, allocations: 121.8 kB / 1.042 GB, free: 14 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.19, allocations: 410.6 kB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.1907, allocations: 365 kB / 1.043 GB, free: 13.15 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1907, allocations: 0 / 1.043 GB, free: 13.15 MB / 1.01 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001119/0.1918, allocations: 0.5751 MB / 1.043 GB, free: 12.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.1918, allocations: 4 kB / 1.043 GB, free: 12.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1919, allocations: 0 / 1.043 GB, free: 12.56 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.1919, allocations: 8 kB / 1.043 GB, free: 12.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.1924, allocations: 163.7 kB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.1924, allocations: 8 kB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.1929, allocations: 79.53 kB / 1.043 GB, free: 12.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.1929, allocations: 31.98 kB / 1.043 GB, free: 12.28 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.0003068/0.1932, allocations: 223.1 kB / 1.044 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.1934, allocations: 103.5 kB / 1.044 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.1948, allocations: 0.6818 MB / 1.044 GB, free: 11.26 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.1948, allocations: 8 kB / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.1948, allocations: 0 / 1.044 GB, free: 11.25 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.1948, allocations: 11.92 kB / 1.044 GB, free: 11.24 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.1971, allocations: 1.557 MB / 1.046 GB, free: 9.617 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1971, allocations: 0 / 1.046 GB, free: 9.617 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.1975, allocations: 131.8 kB / 1.046 GB, free: 9.488 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.1975, allocations: 4 kB / 1.046 GB, free: 9.484 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.1976, allocations: 24.02 kB / 1.046 GB, free: 9.461 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.1976, allocations: 0 / 1.046 GB, free: 9.461 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.1976, allocations: 4 kB / 1.046 GB, free: 9.457 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.1987, allocations: 0.7372 MB / 1.047 GB, free: 8.699 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.1991, allocations: 187.2 kB / 1.047 GB, free: 8.516 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.1992, allocations: 20 kB / 1.047 GB, free: 8.496 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.1996, allocations: 46.61 kB / 1.047 GB, free: 8.453 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.1997, allocations: 72.81 kB / 1.047 GB, free: 8.383 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.1998, allocations: 31.98 kB / 1.047 GB, free: 8.352 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004557/0.2002, allocations: 394.9 kB / 1.048 GB, free: 7.969 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.2002, allocations: 0 / 1.048 GB, free: 7.969 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009014/0.2012, allocations: 287.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.001811/0.203, allocations: 0.6248 MB / 1.048 GB, free: 7.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009316/0.2039, allocations: 434.2 kB / 1.049 GB, free: 6.801 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2039, allocations: 0 / 1.049 GB, free: 6.801 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.2043, allocations: 243.3 kB / 1.049 GB, free: 6.562 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.2054, allocations: 302.1 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.003067/0.2084, allocations: 1.353 MB / 1.051 GB, free: 4.891 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.2086, allocations: 177.9 kB / 1.051 GB, free: 4.691 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005702/0.2092, allocations: 246.4 kB / 1.051 GB, free: 4.445 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.2093, allocations: 100.5 kB / 1.051 GB, free: 4.348 MB / 1.01 GB Notification: Performance of SimCode: time 1.914e-06/0.2093, allocations: 0 / 1.051 GB, free: 4.348 MB / 1.01 GB Notification: Performance of Templates: time 0.3977/0.607, 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.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.397465830901638]