Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.68/2.68, allocations: 469.4 MB / 0.7421 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.84 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2665, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005911/0.2724, allocations: 4.522 MB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7464/1.019, allocations: 150.6 MB / 1.371 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/1.02, allocations: 15.03 kB / 1.371 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/1.02, allocations: 179.7 kB / 1.371 GB, free: 11.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/1.022, allocations: 0.5036 MB / 1.372 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/1.024, allocations: 0.7616 MB / 1.373 GB, free: 11.01 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001439/1.025, allocations: 1.248 MB / 1.374 GB, free: 10.37 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007626/1.026, allocations: 0.4885 MB / 1.374 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006197/1.027, allocations: 422.4 kB / 1.375 GB, free: 9.895 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/1.027, allocations: 426.5 kB / 1.375 GB, free: 9.676 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/1.027, allocations: 98.22 kB / 1.375 GB, free: 9.676 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007574/1.028, allocations: 408 kB / 1.376 GB, free: 9.574 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/1.028, allocations: 253.4 kB / 1.376 GB, free: 9.418 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005268/1.029, allocations: 482.7 kB / 1.376 GB, free: 9.098 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/1.031, allocations: 1.415 MB / 1.378 GB, free: 8.488 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.031, allocations: 0 / 1.378 GB, free: 8.488 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.192e-06/1.031, allocations: 0 / 1.378 GB, free: 8.488 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.19e-05/1.031, allocations: 4 kB / 1.378 GB, free: 8.484 MB / 1.076 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.002667/1.033, allocations: 1.311 MB / 1.379 GB, free: 7.496 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.033, allocations: 13.06 kB / 1.379 GB, free: 7.492 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/1.034, allocations: 114.3 kB / 1.379 GB, free: 7.395 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/1.034, allocations: 113.8 kB / 1.379 GB, free: 7.336 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/1.035, allocations: 0.7328 MB / 1.38 GB, free: 6.73 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/1.035, allocations: 49.47 kB / 1.38 GB, free: 6.707 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/1.035, allocations: 66.67 kB / 1.38 GB, free: 6.684 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/1.037, allocations: 0.7797 MB / 1.381 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/1.037, allocations: 0.6562 kB / 1.381 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/1.037, allocations: 27.88 kB / 1.381 GB, free: 6.125 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/1.037, allocations: 17.84 kB / 1.381 GB, free: 6.125 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/1.038, allocations: 0.9737 MB / 1.382 GB, free: 5.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/1.042, allocations: 2.46 MB / 1.384 GB, free: 3.652 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/1.043, allocations: 0.689 MB / 1.385 GB, free: 3.285 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/1.043, allocations: 254 kB / 1.385 GB, free: 3.148 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/1.043, allocations: 28.31 kB / 1.385 GB, free: 3.137 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006991/1.044, allocations: 430.6 kB / 1.385 GB, free: 2.859 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 3.958e-06/1.044, allocations: 0 / 1.385 GB, free: 2.859 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.001576/1.046, allocations: 0.8408 MB / 1.386 GB, free: 2.441 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.046, allocations: 243.6 kB / 1.387 GB, free: 2.152 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/1.047, allocations: 0.6281 MB / 1.387 GB, free: 1.785 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/1.047, allocations: 46.45 kB / 1.387 GB, free: 1.738 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/1.047, allocations: 368 kB / 1.388 GB, free: 1.414 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/1.047, allocations: 231.1 kB / 1.388 GB, free: 1.215 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/1.047, allocations: 134.9 kB / 1.388 GB, free: 1.133 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.048, allocations: 385.2 kB / 1.388 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/1.048, allocations: 197.9 kB / 1.388 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/1.048, allocations: 327.4 kB / 1.389 GB, free: 452 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/1.049, allocations: 0.495 MB / 1.389 GB, free: 168 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.049, allocations: 4.656 kB / 1.389 GB, free: 168 kB / 1.076 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001134/1.05, allocations: 0.6422 MB / 1.39 GB, free: 15.83 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.05, allocations: 5.875 kB / 1.39 GB, free: 15.83 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.05, allocations: 1.156 kB / 1.39 GB, free: 15.83 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.05, allocations: 3.906 kB / 1.39 GB, free: 15.83 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/1.051, allocations: 134 kB / 1.39 GB, free: 15.8 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/1.051, allocations: 17.44 kB / 1.39 GB, free: 15.79 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/1.052, allocations: 82.59 kB / 1.39 GB, free: 15.74 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/1.052, allocations: 29.78 kB / 1.39 GB, free: 15.73 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (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 (80): * Single equations (assignments): 80 * 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.0003503/1.052, allocations: 256.5 kB / 1.39 GB, free: 15.53 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/1.052, allocations: 80.83 kB / 1.39 GB, free: 15.48 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/1.054, allocations: 0.8485 MB / 1.391 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/1.054, allocations: 11.5 kB / 1.391 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.054, allocations: 13.17 kB / 1.391 GB, free: 15.01 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/1.054, allocations: 7.922 kB / 1.391 GB, free: 15 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/1.055, allocations: 0.9652 MB / 1.392 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.055, allocations: 0 / 1.392 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/1.055, allocations: 124.2 kB / 1.392 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/1.055, allocations: 11.5 kB / 1.392 GB, free: 14.19 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/1.056, allocations: 19.89 kB / 1.392 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/1.056, allocations: 3.344 kB / 1.392 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.056, allocations: 4.031 kB / 1.392 GB, free: 14.17 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/1.057, allocations: 0.7441 MB / 1.393 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/1.057, allocations: 265.4 kB / 1.393 GB, free: 13.54 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.057, allocations: 17.66 kB / 1.393 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/1.058, allocations: 55.53 kB / 1.393 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.058, allocations: 65.31 kB / 1.394 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/1.058, allocations: 28.17 kB / 1.394 GB, free: 13.45 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005658/1.059, allocations: 455.8 kB / 1.394 GB, free: 13.19 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.3e-07/1.059, allocations: 1.125 kB / 1.394 GB, free: 13.19 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007361/1.059, allocations: 270.9 kB / 1.394 GB, free: 13.11 MB / 1.092 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.00268/1.062, allocations: 1.791 MB / 1.396 GB, free: 12 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009392/1.063, allocations: 0.5482 MB / 1.397 GB, free: 11.76 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.063, allocations: 3.984 kB / 1.397 GB, free: 11.75 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004907/1.063, allocations: 324.2 kB / 1.397 GB, free: 11.62 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.065, allocations: 288.7 kB / 1.397 GB, free: 11.46 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/1.073, allocations: 5.542 MB / 1.403 GB, free: 7.992 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/1.073, allocations: 0.9683 MB / 1.403 GB, free: 7.172 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007563/1.074, allocations: 252 kB / 1.404 GB, free: 7.047 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/1.074, allocations: 334.1 kB / 1.404 GB, free: 6.785 MB / 1.092 GB Notification: Performance of SimCode: time 4.81e-07/1.074, allocations: 1.562 kB / 1.404 GB, free: 6.785 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04022/1.115, allocations: 18.69 MB / 1.422 GB, free: 6.426 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.549/9.663, allocations: 18.45 kB / 1.422 GB, free: 6.418 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.csv --start-time 1.56384e+07 --stop-time 1.10246e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches