Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001907/0.001908, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 191.2 kB / 16.25 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.03/3.03, allocations: 469.8 MB / 0.742 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 62.98 kB / 0.908 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 159.2 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006876/0.3348, allocations: 4.545 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2105/0.5453, allocations: 148.3 MB / 1.213 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007811/0.5462, allocations: 15.94 kB / 1.213 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.5467, allocations: 146.9 kB / 1.213 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.5486, allocations: 454.4 kB / 1.213 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.5505, allocations: 0.6783 MB / 1.214 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.5522, allocations: 1.234 MB / 1.215 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008424/0.553, allocations: 0.4947 MB / 1.216 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.5537, allocations: 410.5 kB / 1.216 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.5543, allocations: 434.1 kB / 1.216 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.5544, allocations: 96 kB / 1.217 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007638/0.5552, allocations: 375.7 kB / 1.217 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.5555, allocations: 263.1 kB / 1.217 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.5559, allocations: 485.5 kB / 1.218 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.5576, allocations: 1.367 MB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5576, allocations: 0 / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5576, allocations: 0 / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.5576, allocations: 0 / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002354/0.56, allocations: 1.281 MB / 1.22 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.56, allocations: 12.03 kB / 1.22 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.5604, allocations: 103.7 kB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.5614, allocations: 0.6878 MB / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/0.5615, allocations: 54 kB / 1.221 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.5616, allocations: 71.92 kB / 1.221 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.5629, allocations: 0.7838 MB / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.563, allocations: 0 / 1.222 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.563, allocations: 28 kB / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.5631, allocations: 16 kB / 1.222 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.5646, allocations: 0.9728 MB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.5683, allocations: 2.479 MB / 1.225 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.5696, allocations: 0.6808 MB / 1.226 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.57, allocations: 255.3 kB / 1.226 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.5701, allocations: 28.45 kB / 1.226 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008312/0.571, allocations: 422.6 kB / 1.227 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.374e-06/0.571, allocations: 8 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001723/0.5727, allocations: 0.8338 MB / 1.227 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/0.5729, allocations: 247.8 kB / 1.228 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009338/0.5738, allocations: 0.633 MB / 1.228 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.5739, allocations: 37.7 kB / 1.228 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.5743, allocations: 352.5 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.5745, allocations: 228.7 kB / 1.229 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.5748, allocations: 154.7 kB / 1.229 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.575, allocations: 382.9 kB / 1.229 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.5754, allocations: 225.8 kB / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.5759, allocations: 341.3 kB / 1.23 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/0.5768, allocations: 0.5173 MB / 1.23 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5768, allocations: 0 / 1.23 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001303/0.5781, allocations: 0.6837 MB / 1.231 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5782, allocations: 8.156 kB / 1.231 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5782, allocations: 7.984 kB / 1.231 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.5782, allocations: 4 kB / 1.231 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.5788, allocations: 143.8 kB / 1.231 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.5788, allocations: 11.88 kB / 1.231 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006666/0.5795, allocations: 89.05 kB / 1.231 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.5796, allocations: 31.97 kB / 1.231 GB, free: 1.586 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (88): * Single equations (assignments): 88 * 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.0004829/0.5801, allocations: 263.4 kB / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.5802, allocations: 79.05 kB / 1.232 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.582, allocations: 0.8486 MB / 1.233 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.582, allocations: 8 kB / 1.233 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.582, allocations: 3.938 kB / 1.233 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.582, allocations: 3.984 kB / 1.233 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.5835, allocations: 0.9676 MB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5835, allocations: 0 / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.5839, allocations: 123.8 kB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.584, allocations: 7.938 kB / 1.234 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.584, allocations: 24.02 kB / 1.234 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.584, allocations: 4 kB / 1.234 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.584, allocations: 0 / 1.234 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.5853, allocations: 0.7393 MB / 1.234 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.5857, allocations: 255.8 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.5858, allocations: 16 kB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.5863, allocations: 55.94 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.5864, allocations: 60.56 kB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.018e-05/0.5865, allocations: 31.98 kB / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006141/0.5871, allocations: 459 kB / 1.235 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5872, allocations: 0 / 1.235 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007636/0.5879, allocations: 275.4 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001953/0.5899, allocations: 0.603 MB / 1.236 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.5916, allocations: 0.7551 MB / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.5916, allocations: 0 / 1.237 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.5922, allocations: 323.6 kB / 1.237 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.5934, allocations: 277.3 kB / 1.237 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.5963, allocations: 1.776 MB / 1.239 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.597, allocations: 0.9807 MB / 1.24 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007789/0.5978, allocations: 238.3 kB / 1.24 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.598, allocations: 99.39 kB / 1.24 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/0.598, allocations: 0 / 1.24 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of Templates: time 0.5587/1.157, allocations: 12.59 MB / 1.253 GB, free: 184.8 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches