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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001428/0.001428, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00176/0.00176, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.08 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3076, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.008931/0.3166, allocations: 4.531 MB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1617/0.4783, allocations: 148.3 MB / 1.217 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007473/0.4791, allocations: 11.94 kB / 1.217 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.4798, allocations: 146.9 kB / 1.217 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.4818, allocations: 449.5 kB / 1.218 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.4837, allocations: 0.6844 MB / 1.218 GB, free: 104 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.4852, allocations: 1.234 MB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008335/0.4861, allocations: 0.4908 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006437/0.4867, allocations: 414.5 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000704/0.4874, allocations: 426.1 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.4877, allocations: 100 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.4884, allocations: 375.7 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.4887, allocations: 259.2 kB / 1.221 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000507/0.4892, allocations: 485.4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.4908, allocations: 1.371 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4908, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4908, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.4908, allocations: 4 kB / 1.223 GB, free: 10.95 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.001976/0.4928, allocations: 1.269 MB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.4928, allocations: 15.91 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.4931, allocations: 115.6 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008667/0.494, allocations: 0.6917 MB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.4941, allocations: 54 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/0.4942, allocations: 64 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.4953, allocations: 0.772 MB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4954, allocations: 3.938 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.412e-05/0.4954, allocations: 32 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.4955, allocations: 16 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.4968, allocations: 0.9767 MB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.4999, allocations: 2.49 MB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.5011, allocations: 0.6736 MB / 1.23 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.5014, allocations: 251.3 kB / 1.23 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.5015, allocations: 24.53 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000672/0.5022, allocations: 426.3 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.224e-06/0.5022, allocations: 0 / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001403/0.5036, allocations: 0.8389 MB / 1.232 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.5037, allocations: 247.8 kB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.5044, allocations: 0.6332 MB / 1.233 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.5045, allocations: 37.7 kB / 1.233 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.5047, allocations: 356.5 kB / 1.233 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.5049, allocations: 224.8 kB / 1.233 GB, free: 440 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.5051, allocations: 154.5 kB / 1.233 GB, free: 280 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5053, allocations: 382.8 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.5057, allocations: 218 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.5061, allocations: 345.3 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00077/0.5069, allocations: 0.5251 MB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5069, allocations: 0 / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001065/0.508, allocations: 0.6837 MB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.508, allocations: 4 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.508, allocations: 4 kB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5081, allocations: 4 kB / 1.235 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/0.5086, allocations: 139.8 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.5086, allocations: 7.938 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.5092, allocations: 95.47 kB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.5093, allocations: 31.98 kB / 1.236 GB, free: 13.8 MB / 0.9981 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.0003463/0.5096, allocations: 265.1 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.5098, allocations: 79.06 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.5113, allocations: 0.8447 MB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.108e-06/0.5113, allocations: 8 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5114, allocations: 3.938 kB / 1.237 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.5114, allocations: 11.92 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.5125, allocations: 0.9598 MB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.5125, allocations: 0 / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.5129, allocations: 127.8 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.513, allocations: 3.938 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/0.513, allocations: 23.97 kB / 1.238 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.513, allocations: 4 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.513, allocations: 0 / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.5142, allocations: 0.7394 MB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.5145, allocations: 255.8 kB / 1.239 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.5146, allocations: 15.98 kB / 1.239 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005255/0.5152, allocations: 61.19 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.5153, allocations: 60.56 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.5154, allocations: 35.98 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005621/0.516, allocations: 455 kB / 1.24 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.516, allocations: 3.938 kB / 1.24 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007828/0.5168, allocations: 279.3 kB / 1.24 GB, free: 9.48 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.001407/0.5182, allocations: 0.5982 MB / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.5198, allocations: 0.7592 MB / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5198, allocations: 3.938 kB / 1.241 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.5203, allocations: 327.6 kB / 1.241 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.5214, allocations: 259.4 kB / 1.242 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.5239, allocations: 1.775 MB / 1.243 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.5245, allocations: 0.9727 MB / 1.244 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007402/0.5252, allocations: 254.2 kB / 1.245 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.5255, allocations: 107.3 kB / 1.245 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.5255, allocations: 0 / 1.245 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.5513/1.077, allocations: 12.61 MB / 1.257 GB, free: 182 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches