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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001231/0.001231, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001255/0.001255, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.313/2.313, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6189, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005439/0.6244, allocations: 4.529 MB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1378/0.7622, allocations: 150.6 MB / 1.36 GB, free: 1.926 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006391/0.7629, allocations: 19.94 kB / 1.36 GB, free: 1.906 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.7634, allocations: 174.4 kB / 1.36 GB, free: 1.734 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.765, allocations: 0.5008 MB / 1.361 GB, free: 1.234 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.7666, allocations: 0.7635 MB / 1.361 GB, free: 488 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.7678, allocations: 1.254 MB / 1.362 GB, free: 15.22 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006188/0.7684, allocations: 0.4908 MB / 1.363 GB, free: 14.71 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.7689, allocations: 414.5 kB / 1.363 GB, free: 14.3 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.7693, allocations: 426.1 kB / 1.364 GB, free: 13.88 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.7694, allocations: 96 kB / 1.364 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006074/0.7701, allocations: 407.6 kB / 1.364 GB, free: 13.39 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.7703, allocations: 251.2 kB / 1.364 GB, free: 13.14 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.7706, allocations: 489.5 kB / 1.365 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.7718, allocations: 1.404 MB / 1.366 GB, free: 11.26 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7718, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7718, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.7718, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.092 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.001767/0.7736, allocations: 1.277 MB / 1.368 GB, free: 9.93 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.7737, allocations: 12.03 kB / 1.368 GB, free: 9.918 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.7739, allocations: 107.6 kB / 1.368 GB, free: 9.812 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008537/0.7748, allocations: 0.715 MB / 1.368 GB, free: 9.055 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.7748, allocations: 50 kB / 1.368 GB, free: 9.008 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.7749, allocations: 67.98 kB / 1.368 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.776, allocations: 0.7799 MB / 1.369 GB, free: 8.105 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.776, allocations: 0 / 1.369 GB, free: 8.105 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.7761, allocations: 28 kB / 1.369 GB, free: 8.078 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.7761, allocations: 16 kB / 1.369 GB, free: 8.062 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.7773, allocations: 0.9728 MB / 1.37 GB, free: 7.086 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.7801, allocations: 2.454 MB / 1.373 GB, free: 4.551 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.7811, allocations: 0.6916 MB / 1.373 GB, free: 3.844 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.7814, allocations: 251.2 kB / 1.374 GB, free: 3.594 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.458e-05/0.7815, allocations: 28.53 kB / 1.374 GB, free: 3.566 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005597/0.7821, allocations: 417.2 kB / 1.374 GB, free: 3.141 MB / 1.092 GB Notification: Performance of pre-optimization done (n=70): time 2.926e-06/0.7821, allocations: 112 / 1.374 GB, free: 3.141 MB / 1.092 GB Notification: Performance of matching and sorting (n=70): time 0.001307/0.7834, allocations: 0.8467 MB / 1.375 GB, free: 2.289 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.7835, allocations: 243.8 kB / 1.375 GB, free: 1.996 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.7841, allocations: 0.6253 MB / 1.376 GB, free: 1.363 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.7842, allocations: 41.7 kB / 1.376 GB, free: 1.316 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.7844, allocations: 364.4 kB / 1.376 GB, free: 0.957 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.7846, allocations: 224.8 kB / 1.376 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.7848, allocations: 154.5 kB / 1.376 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.7849, allocations: 390.9 kB / 1.377 GB, free: 192 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.7853, allocations: 221.9 kB / 1.377 GB, free: 15.97 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.7857, allocations: 329.4 kB / 1.377 GB, free: 15.63 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.7864, allocations: 0.5212 MB / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.7864, allocations: 0 / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001001/0.7874, allocations: 0.6837 MB / 1.378 GB, free: 14.4 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7874, allocations: 5.562 kB / 1.378 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.7875, allocations: 4.156 kB / 1.378 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.7875, allocations: 8 kB / 1.378 GB, free: 14.38 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.788, allocations: 143.7 kB / 1.379 GB, free: 14.24 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.788, allocations: 11.94 kB / 1.379 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.7885, allocations: 81 kB / 1.379 GB, free: 14.15 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.7886, allocations: 43.97 kB / 1.379 GB, free: 14.11 MB / 1.107 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.0002854/0.7889, allocations: 255.4 kB / 1.379 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.789, allocations: 83.05 kB / 1.379 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.7904, allocations: 0.8407 MB / 1.38 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.7904, allocations: 8 kB / 1.38 GB, free: 12.91 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7904, allocations: 3.938 kB / 1.38 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.7904, allocations: 7.969 kB / 1.38 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009011/0.7913, allocations: 0.9598 MB / 1.381 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7913, allocations: 0 / 1.381 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.7917, allocations: 127.8 kB / 1.381 GB, free: 11.75 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.7917, allocations: 11.97 kB / 1.381 GB, free: 11.74 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.7918, allocations: 23.98 kB / 1.381 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.7918, allocations: 0 / 1.381 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7918, allocations: 4 kB / 1.381 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000988/0.7928, allocations: 0.7354 MB / 1.382 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.7931, allocations: 259.8 kB / 1.382 GB, free: 10.68 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7932, allocations: 19.94 kB / 1.382 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.7937, allocations: 59.94 kB / 1.382 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.7938, allocations: 60.56 kB / 1.382 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.7938, allocations: 27.98 kB / 1.382 GB, free: 10.52 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000455/0.7943, allocations: 455 kB / 1.383 GB, free: 10.07 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7943, allocations: 0 / 1.383 GB, free: 10.07 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006038/0.7949, allocations: 271.4 kB / 1.383 GB, free: 9.809 MB / 1.107 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.001155/0.7961, allocations: 0.6163 MB / 1.383 GB, free: 9.367 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008503/0.7969, allocations: 0.5833 MB / 1.384 GB, free: 8.785 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7969, allocations: 0 / 1.384 GB, free: 8.785 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004186/0.7973, allocations: 327.5 kB / 1.384 GB, free: 8.465 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009574/0.7983, allocations: 260.5 kB / 1.385 GB, free: 8.227 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.8003, allocations: 1.458 MB / 1.386 GB, free: 6.73 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.8007, allocations: 0.9766 MB / 1.387 GB, free: 5.727 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.801, allocations: 107.4 kB / 1.387 GB, free: 5.621 MB / 1.107 GB Notification: Performance of SimCode: time 2.5e-07/0.801, allocations: 0 / 1.387 GB, free: 5.621 MB / 1.107 GB Notification: Performance of Templates: time 0.01525/0.8163, allocations: 13.58 MB / 1.4 GB, free: 8.117 MB / 1.123 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 -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