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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001352/0.001352, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.00127/0.00127, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.562/2.562, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.38 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3074, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005811/0.3132, allocations: 4.552 MB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7126/1.026, allocations: 150.5 MB / 1.178 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007378/1.027, allocations: 19.78 kB / 1.178 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005518/1.027, allocations: 176.8 kB / 1.178 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/1.029, allocations: 0.5054 MB / 1.179 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/1.031, allocations: 0.7542 MB / 1.18 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001368/1.032, allocations: 1.248 MB / 1.181 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007766/1.033, allocations: 0.4909 MB / 1.181 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005178/1.033, allocations: 419.3 kB / 1.182 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/1.034, allocations: 426.5 kB / 1.182 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/1.034, allocations: 98.16 kB / 1.182 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000754/1.035, allocations: 398.8 kB / 1.183 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/1.035, allocations: 260.3 kB / 1.183 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004462/1.036, allocations: 486.8 kB / 1.183 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/1.037, allocations: 1.404 MB / 1.185 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.037, allocations: 4 kB / 1.185 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/1.037, allocations: 1.25 kB / 1.185 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.313e-05/1.037, allocations: 0 / 1.185 GB, free: 2.926 MB / 0.8887 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.002201/1.039, allocations: 1.274 MB / 1.186 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/1.039, allocations: 9.719 kB / 1.186 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003071/1.04, allocations: 107.7 kB / 1.186 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/1.041, allocations: 0.7192 MB / 1.187 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/1.041, allocations: 49.66 kB / 1.187 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/1.041, allocations: 67.28 kB / 1.187 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/1.042, allocations: 0.7677 MB / 1.188 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.042, allocations: 7.875 kB / 1.188 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/1.042, allocations: 32.3 kB / 1.188 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/1.042, allocations: 16.22 kB / 1.188 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.044, allocations: 0.9756 MB / 1.189 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/1.047, allocations: 2.459 MB / 1.191 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/1.048, allocations: 0.6791 MB / 1.192 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/1.049, allocations: 245.3 kB / 1.192 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.667e-05/1.049, allocations: 33.66 kB / 1.192 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006927/1.05, allocations: 425.8 kB / 1.192 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/1.05, allocations: 0 / 1.192 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70): time 0.001618/1.051, allocations: 0.8379 MB / 1.193 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.051, allocations: 239.7 kB / 1.193 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000743/1.052, allocations: 0.634 MB / 1.194 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/1.052, allocations: 38.8 kB / 1.194 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/1.052, allocations: 362 kB / 1.194 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/1.053, allocations: 225.9 kB / 1.195 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/1.053, allocations: 160.7 kB / 1.195 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.053, allocations: 381.9 kB / 1.195 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/1.053, allocations: 222.7 kB / 1.195 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/1.054, allocations: 330.9 kB / 1.196 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/1.055, allocations: 0.5226 MB / 1.196 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.055, allocations: 3.453 kB / 1.196 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001159/1.056, allocations: 0.6834 MB / 1.197 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.056, allocations: 5.625 kB / 1.197 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.056, allocations: 2.688 kB / 1.197 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.056, allocations: 2.719 kB / 1.197 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/1.056, allocations: 151.5 kB / 1.197 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.056, allocations: 2.531 kB / 1.197 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/1.057, allocations: 93.88 kB / 1.197 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/1.057, allocations: 29.08 kB / 1.197 GB, free: 10.24 MB / 0.9044 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.0003378/1.058, allocations: 266 kB / 1.197 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/1.058, allocations: 86.25 kB / 1.197 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/1.059, allocations: 0.838 MB / 1.198 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.059, allocations: 11.39 kB / 1.198 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.059, allocations: 4 kB / 1.198 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.059, allocations: 10.7 kB / 1.198 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/1.06, allocations: 0.9642 MB / 1.199 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.06, allocations: 0 / 1.199 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/1.061, allocations: 119.7 kB / 1.199 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.061, allocations: 6.672 kB / 1.199 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/1.061, allocations: 29.89 kB / 1.199 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/1.061, allocations: 2.75 kB / 1.199 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.061, allocations: 0 / 1.199 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/1.062, allocations: 0.7325 MB / 1.2 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/1.062, allocations: 259.3 kB / 1.2 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.062, allocations: 23.28 kB / 1.2 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/1.063, allocations: 53.09 kB / 1.2 GB, free: 8.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.063, allocations: 62.73 kB / 1.2 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/1.063, allocations: 28.05 kB / 1.2 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000503/1.064, allocations: 458.6 kB / 1.201 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.064, allocations: 0 / 1.201 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000725/1.064, allocations: 278 kB / 1.201 GB, free: 7.637 MB / 0.9044 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.001358/1.066, allocations: 0.5982 MB / 1.202 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009368/1.067, allocations: 0.5853 MB / 1.202 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.067, allocations: 0 / 1.202 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004484/1.067, allocations: 324.8 kB / 1.203 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/1.068, allocations: 278.7 kB / 1.203 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/1.071, allocations: 1.425 MB / 1.204 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/1.071, allocations: 0.976 MB / 1.205 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006859/1.072, allocations: 254.4 kB / 1.205 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/1.072, allocations: 98.39 kB / 1.206 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of SimCode: time 6.11e-07/1.072, allocations: 0 / 1.206 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of Templates: time 0.02145/1.094, allocations: 12.7 MB / 1.218 GB, free: 9.312 MB / 0.92 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=480 -s gbode -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/jenkins1/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