Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001931/0.001931, allocations: 191.2 kB / 16.25 MB, free: 6.648 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.007/3.007, allocations: 482.4 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 65.39 kB / 0.9233 GB, free: 29.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.348, allocations: 162.2 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.007104/0.3552, allocations: 4.544 MB / 1.086 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1865/0.5418, allocations: 148.3 MB / 1.231 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.5429, allocations: 15.94 kB / 1.231 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.5436, allocations: 138.9 kB / 1.231 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.5457, allocations: 457.2 kB / 1.232 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.5479, allocations: 0.678 MB / 1.232 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.5497, allocations: 1.238 MB / 1.233 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008929/0.5506, allocations: 0.4947 MB / 1.234 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006506/0.5512, allocations: 410.5 kB / 1.234 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005979/0.5518, allocations: 434.1 kB / 1.235 GB, free: 360 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.552, allocations: 96 kB / 1.235 GB, free: 264 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007969/0.5528, allocations: 375.7 kB / 1.235 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.5531, allocations: 255.2 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004966/0.5536, allocations: 481.5 kB / 1.236 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.5555, allocations: 1.375 MB / 1.237 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5555, allocations: 0 / 1.237 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5556, allocations: 0 / 1.237 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.5556, allocations: 0 / 1.237 GB, free: 13.79 MB / 0.9981 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.002452/0.558, allocations: 1.279 MB / 1.239 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5581, allocations: 8.031 kB / 1.239 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.5584, allocations: 107.7 kB / 1.239 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.5596, allocations: 0.6955 MB / 1.239 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.802e-05/0.5596, allocations: 54 kB / 1.239 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.5597, allocations: 67.98 kB / 1.239 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.5612, allocations: 0.7798 MB / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5612, allocations: 0 / 1.24 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/0.5613, allocations: 28 kB / 1.24 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.5613, allocations: 16 kB / 1.24 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.5628, allocations: 0.9689 MB / 1.241 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003696/0.5665, allocations: 2.484 MB / 1.244 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/0.5678, allocations: 0.6799 MB / 1.244 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.5682, allocations: 255.2 kB / 1.244 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.249e-05/0.5683, allocations: 28.52 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008489/0.5692, allocations: 418.3 kB / 1.245 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=70): time 2.495e-06/0.5692, allocations: 0 / 1.245 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70): time 0.001758/0.5709, allocations: 0.8389 MB / 1.246 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001908/0.5711, allocations: 247.8 kB / 1.246 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.5721, allocations: 0.6291 MB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.489e-05/0.5722, allocations: 41.83 kB / 1.247 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.5725, allocations: 360.5 kB / 1.247 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.5727, allocations: 224.8 kB / 1.247 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.573, allocations: 150.5 kB / 1.247 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.5732, allocations: 382.8 kB / 1.248 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.5737, allocations: 225.8 kB / 1.248 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005418/0.5742, allocations: 333.4 kB / 1.248 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009159/0.5751, allocations: 0.5252 MB / 1.249 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5751, allocations: 3.938 kB / 1.249 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001325/0.5765, allocations: 0.6877 MB / 1.249 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5765, allocations: 11.94 kB / 1.249 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5765, allocations: 64 / 1.249 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.5766, allocations: 8 kB / 1.249 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.5772, allocations: 143.7 kB / 1.25 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.5772, allocations: 11.94 kB / 1.25 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.5779, allocations: 87.48 kB / 1.25 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.73e-05/0.578, allocations: 35.97 kB / 1.25 GB, free: 0.6289 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.0004782/0.5785, allocations: 255.4 kB / 1.25 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.5787, allocations: 83.05 kB / 1.25 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6325/1.211, allocations: 0.8374 MB / 1.251 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/1.211, allocations: 9.656 kB / 1.251 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.211, allocations: 4.5 kB / 1.251 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/1.211, allocations: 5.281 kB / 1.251 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/1.213, allocations: 0.9631 MB / 1.252 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.213, allocations: 1.516 kB / 1.252 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/1.213, allocations: 125 kB / 1.252 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.213, allocations: 3.594 kB / 1.252 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/1.214, allocations: 24.19 kB / 1.252 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/1.214, allocations: 6.812 kB / 1.252 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.214, allocations: 0.875 kB / 1.252 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/1.215, allocations: 0.7385 MB / 1.253 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/1.215, allocations: 253.8 kB / 1.253 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.216, allocations: 19.5 kB / 1.253 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/1.216, allocations: 55.77 kB / 1.253 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.216, allocations: 59.67 kB / 1.253 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/1.216, allocations: 29.56 kB / 1.253 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006477/1.217, allocations: 455 kB / 1.254 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.71e-07/1.217, allocations: 0.9688 kB / 1.254 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008535/1.218, allocations: 275 kB / 1.254 GB, free: 173.4 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.002026/1.22, allocations: 0.6179 MB / 1.254 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001759/1.222, allocations: 0.7622 MB / 1.255 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.222, allocations: 0.9062 kB / 1.255 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005244/1.222, allocations: 324.6 kB / 1.255 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.223, allocations: 269.3 kB / 1.256 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/1.226, allocations: 1.775 MB / 1.257 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/1.227, allocations: 0.974 MB / 1.258 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008249/1.227, allocations: 250.2 kB / 1.259 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/1.228, allocations: 103 kB / 1.259 GB, free: 171 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/1.228, allocations: 1.031 kB / 1.259 GB, free: 171 MB / 0.9981 GB Notification: Performance of Templates: time 0.02627/1.254, allocations: 12.62 MB / 1.271 GB, free: 170 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches