Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_usingTwoYearData,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.004622/0.004622, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00132/0.00132, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.864/2.864, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.88 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2763, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006342/0.2827, allocations: 4.522 MB / 1.225 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6735/0.9562, allocations: 150.5 MB / 1.372 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006407/0.9569, allocations: 18.5 kB / 1.372 GB, free: 11.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.9575, allocations: 182.1 kB / 1.372 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.9591, allocations: 0.5047 MB / 1.372 GB, free: 10.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.9608, allocations: 0.76 MB / 1.373 GB, free: 10.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.9622, allocations: 1.243 MB / 1.374 GB, free: 9.965 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006911/0.9629, allocations: 0.4978 MB / 1.375 GB, free: 9.695 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.9634, allocations: 409.4 kB / 1.375 GB, free: 9.492 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005131/0.9639, allocations: 426.5 kB / 1.375 GB, free: 9.273 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.964, allocations: 97.47 kB / 1.376 GB, free: 9.273 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006764/0.9647, allocations: 408.3 kB / 1.376 GB, free: 9.172 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.965, allocations: 262.7 kB / 1.376 GB, free: 9.008 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.9655, allocations: 485.3 kB / 1.377 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.9669, allocations: 1.416 MB / 1.378 GB, free: 8.074 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.9669, allocations: 0 / 1.378 GB, free: 8.074 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9669, allocations: 0 / 1.378 GB, free: 8.074 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.9669, allocations: 1.188 kB / 1.378 GB, free: 8.074 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.00214/0.9691, allocations: 1.308 MB / 1.379 GB, free: 7.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.9691, allocations: 13.41 kB / 1.379 GB, free: 7.09 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.9693, allocations: 111.3 kB / 1.379 GB, free: 6.996 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.9696, allocations: 116.7 kB / 1.38 GB, free: 6.934 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.9707, allocations: 0.728 MB / 1.38 GB, free: 6.336 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/0.9707, allocations: 49.81 kB / 1.38 GB, free: 6.312 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.9708, allocations: 63.44 kB / 1.38 GB, free: 6.293 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.9721, allocations: 0.7791 MB / 1.381 GB, free: 5.754 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.9721, allocations: 7 kB / 1.381 GB, free: 5.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.222e-05/0.9722, allocations: 31.05 kB / 1.381 GB, free: 5.727 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.9722, allocations: 16.41 kB / 1.381 GB, free: 5.727 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.9736, allocations: 0.9708 MB / 1.382 GB, free: 5.262 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003389/0.977, allocations: 2.474 MB / 1.385 GB, free: 3.238 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.9783, allocations: 0.6819 MB / 1.385 GB, free: 2.879 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.9787, allocations: 246.4 kB / 1.385 GB, free: 2.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.749e-05/0.9787, allocations: 33.3 kB / 1.386 GB, free: 2.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006792/0.9794, allocations: 425.2 kB / 1.386 GB, free: 2.457 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 2.024e-06/0.9794, allocations: 0 / 1.386 GB, free: 2.457 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.001545/0.981, allocations: 0.841 MB / 1.387 GB, free: 2.043 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.9812, allocations: 243.9 kB / 1.387 GB, free: 1.754 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007903/0.9819, allocations: 0.6246 MB / 1.388 GB, free: 1.387 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.982, allocations: 42.2 kB / 1.388 GB, free: 1.344 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.9823, allocations: 371.5 kB / 1.388 GB, free: 1.016 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.9825, allocations: 227.4 kB / 1.388 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.9828, allocations: 139.7 kB / 1.388 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.983, allocations: 383.9 kB / 1.389 GB, free: 376 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.9833, allocations: 197.7 kB / 1.389 GB, free: 280 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.9838, allocations: 335.9 kB / 1.389 GB, free: 36 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.9847, allocations: 0.4914 MB / 1.39 GB, free: 15.75 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9847, allocations: 1.219 kB / 1.39 GB, free: 15.75 MB / 1.092 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001118/0.9858, allocations: 0.6422 MB / 1.39 GB, free: 15.43 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9858, allocations: 10.22 kB / 1.39 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9858, allocations: 1.219 kB / 1.39 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.9859, allocations: 4.594 kB / 1.39 GB, free: 15.42 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.9864, allocations: 134.7 kB / 1.39 GB, free: 15.39 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.9864, allocations: 11.59 kB / 1.39 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.9869, allocations: 84.2 kB / 1.391 GB, free: 15.33 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/0.987, allocations: 27.2 kB / 1.391 GB, free: 15.32 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.0003321/0.9873, allocations: 259.5 kB / 1.391 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.9875, allocations: 85.33 kB / 1.391 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.9891, allocations: 0.8544 MB / 1.392 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.9891, allocations: 8.5 kB / 1.392 GB, free: 14.61 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.9891, allocations: 3.938 kB / 1.392 GB, free: 14.6 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.9891, allocations: 4.953 kB / 1.392 GB, free: 14.6 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.9903, allocations: 0.972 MB / 1.393 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9903, allocations: 5.25 kB / 1.393 GB, free: 13.81 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.9908, allocations: 120 kB / 1.393 GB, free: 13.79 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.9908, allocations: 10.33 kB / 1.393 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.9908, allocations: 24.42 kB / 1.393 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.9908, allocations: 3.688 kB / 1.393 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9909, allocations: 0 / 1.393 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.9921, allocations: 0.7327 MB / 1.394 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.9924, allocations: 269.1 kB / 1.394 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.9925, allocations: 21.41 kB / 1.394 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.9931, allocations: 55.12 kB / 1.394 GB, free: 13.09 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.9932, allocations: 57.55 kB / 1.394 GB, free: 13.06 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.9933, allocations: 32.19 kB / 1.394 GB, free: 13.05 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005672/0.9938, allocations: 461.4 kB / 1.394 GB, free: 12.79 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9939, allocations: 0 / 1.394 GB, free: 12.79 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006681/0.9945, allocations: 278.3 kB / 1.395 GB, free: 12.7 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.003263/0.9978, allocations: 1.788 MB / 1.396 GB, free: 11.57 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009669/0.9988, allocations: 0.555 MB / 1.397 GB, free: 11.33 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9988, allocations: 1.188 kB / 1.397 GB, free: 11.33 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004973/0.9993, allocations: 323.7 kB / 1.397 GB, free: 11.2 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/1, allocations: 270.6 kB / 1.398 GB, free: 11.06 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/1.008, allocations: 5.539 MB / 1.403 GB, free: 7.598 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/1.009, allocations: 0.984 MB / 1.404 GB, free: 6.766 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006626/1.009, allocations: 250.9 kB / 1.404 GB, free: 6.641 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/1.01, allocations: 326.8 kB / 1.404 GB, free: 6.387 MB / 1.092 GB Notification: Performance of SimCode: time 2.7e-07/1.01, allocations: 0 / 1.404 GB, free: 6.387 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/1.055, allocations: 18.68 MB / 1.423 GB, free: 5.965 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9/10.06, allocations: 9.859 kB / 1.423 GB, free: 5.961 MB / 1.107 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv --start-time 0 --stop-time 9.4608e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 Buildings_11_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches