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.0014/0.0014, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001276/0.001276, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 72.17 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.8562, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006436/0.8626, allocations: 4.513 MB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1973/1.06, allocations: 150.6 MB / 1.234 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/1.061, allocations: 15.94 kB / 1.234 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000578/1.062, allocations: 174.3 kB / 1.235 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/1.063, allocations: 0.5075 MB / 1.235 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001988/1.065, allocations: 0.7538 MB / 1.236 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001361/1.067, allocations: 1.238 MB / 1.237 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007259/1.068, allocations: 0.4908 MB / 1.237 GB, free: 180 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005339/1.068, allocations: 406.6 kB / 1.238 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/1.069, allocations: 426.1 kB / 1.238 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/1.069, allocations: 100 kB / 1.238 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007637/1.07, allocations: 375.7 kB / 1.239 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/1.07, allocations: 259.2 kB / 1.239 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004527/1.07, allocations: 489.5 kB / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/1.072, allocations: 1.371 MB / 1.241 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.072, allocations: 0 / 1.241 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/1.072, allocations: 3.938 kB / 1.241 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.03e-05/1.072, allocations: 8 kB / 1.241 GB, free: 12.77 MB / 0.9669 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.002153/1.074, allocations: 1.265 MB / 1.242 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/1.074, allocations: 8.031 kB / 1.242 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/1.074, allocations: 111.6 kB / 1.242 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009739/1.075, allocations: 0.6955 MB / 1.243 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/1.075, allocations: 49.98 kB / 1.243 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/1.076, allocations: 64 kB / 1.243 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/1.077, allocations: 0.776 MB / 1.244 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/1.077, allocations: 0 / 1.244 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/1.077, allocations: 31.94 kB / 1.244 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/1.077, allocations: 16 kB / 1.244 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/1.078, allocations: 0.9806 MB / 1.245 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/1.082, allocations: 2.478 MB / 1.247 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/1.083, allocations: 0.6876 MB / 1.248 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/1.084, allocations: 251.3 kB / 1.248 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-05/1.084, allocations: 32.52 kB / 1.248 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007579/1.084, allocations: 418.3 kB / 1.248 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=70): time 1.914e-06/1.084, allocations: 0 / 1.248 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70): time 0.00157/1.086, allocations: 0.835 MB / 1.249 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/1.086, allocations: 243.8 kB / 1.249 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/1.087, allocations: 0.6332 MB / 1.25 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/1.087, allocations: 41.7 kB / 1.25 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/1.087, allocations: 352.5 kB / 1.25 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/1.087, allocations: 236.7 kB / 1.251 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/1.088, allocations: 154.5 kB / 1.251 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.088, allocations: 378.8 kB / 1.251 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/1.088, allocations: 225.9 kB / 1.251 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/1.089, allocations: 333.4 kB / 1.252 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/1.09, allocations: 0.5173 MB / 1.252 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.09, allocations: 0 / 1.252 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001176/1.091, allocations: 0.6878 MB / 1.253 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.091, allocations: 7.938 kB / 1.253 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.091, allocations: 0 / 1.253 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.091, allocations: 8 kB / 1.253 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/1.092, allocations: 143.7 kB / 1.253 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.092, allocations: 7.938 kB / 1.253 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/1.092, allocations: 93.59 kB / 1.253 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/1.092, allocations: 31.98 kB / 1.253 GB, free: 15.62 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.0003508/1.093, allocations: 259.4 kB / 1.253 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/1.093, allocations: 75.06 kB / 1.254 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/1.094, allocations: 0.8563 MB / 1.254 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.094, allocations: 8 kB / 1.254 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.094, allocations: 3.938 kB / 1.254 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.094, allocations: 7.984 kB / 1.254 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/1.096, allocations: 0.9597 MB / 1.255 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.096, allocations: 0 / 1.255 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/1.096, allocations: 123.8 kB / 1.255 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.096, allocations: 7.938 kB / 1.255 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/1.096, allocations: 23.98 kB / 1.255 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/1.096, allocations: 7.984 kB / 1.255 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.096, allocations: 0 / 1.255 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/1.097, allocations: 0.7354 MB / 1.256 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/1.098, allocations: 259.8 kB / 1.256 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.098, allocations: 23.98 kB / 1.256 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/1.098, allocations: 47.95 kB / 1.256 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.098, allocations: 64.56 kB / 1.257 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/1.098, allocations: 31.98 kB / 1.257 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000568/1.099, allocations: 455 kB / 1.257 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.099, allocations: 0 / 1.257 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007386/1.1, allocations: 279.3 kB / 1.257 GB, free: 11.3 MB / 0.9825 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.001905/1.102, allocations: 0.611 MB / 1.258 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001603/1.103, allocations: 0.7553 MB / 1.259 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.103, allocations: 4.125 kB / 1.259 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005048/1.104, allocations: 319.6 kB / 1.259 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.105, allocations: 276.1 kB / 1.259 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/1.107, allocations: 1.489 MB / 1.261 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/1.108, allocations: 0.9758 MB / 1.262 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/1.108, allocations: 107.4 kB / 1.262 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/1.108, allocations: 0 / 1.262 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of Templates: time 0.02284/1.131, allocations: 13.48 MB / 1.275 GB, free: 9.516 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,weaDat.weaBus.TDryBul Variables in the result:time,weaDat.weaBus.TDryBul