Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-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_usingTwoYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_latest_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.007613/0.007613, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001842/0.001842, allocations: 184.7 kB / 16.67 MB, free: 5.926 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.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.685/2.685, allocations: 469.4 MB / 0.7421 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.89 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2755, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.00583/0.2814, allocations: 4.529 MB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7227/1.004, allocations: 150.6 MB / 1.371 GB, free: 11.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008363/1.005, allocations: 14.19 kB / 1.371 GB, free: 11.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007027/1.006, allocations: 175 kB / 1.371 GB, free: 11.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/1.008, allocations: 0.5073 MB / 1.372 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/1.009, allocations: 0.7654 MB / 1.373 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001227/1.01, allocations: 1.249 MB / 1.374 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006958/1.011, allocations: 0.4888 MB / 1.374 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/1.012, allocations: 417.6 kB / 1.375 GB, free: 9.906 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/1.012, allocations: 426.4 kB / 1.375 GB, free: 9.688 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/1.012, allocations: 96.66 kB / 1.375 GB, free: 9.688 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/1.013, allocations: 403.9 kB / 1.376 GB, free: 9.59 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/1.013, allocations: 260.5 kB / 1.376 GB, free: 9.426 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004132/1.014, allocations: 484.1 kB / 1.376 GB, free: 9.105 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/1.015, allocations: 1.415 MB / 1.378 GB, free: 8.496 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.015, allocations: 0 / 1.378 GB, free: 8.496 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.293e-06/1.015, allocations: 0 / 1.378 GB, free: 8.496 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.345e-05/1.015, allocations: 0.6562 kB / 1.378 GB, free: 8.496 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.002192/1.017, allocations: 1.312 MB / 1.379 GB, free: 7.523 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.017, allocations: 9.375 kB / 1.379 GB, free: 7.523 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/1.017, allocations: 117.5 kB / 1.379 GB, free: 7.422 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/1.018, allocations: 114.8 kB / 1.379 GB, free: 7.363 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/1.019, allocations: 0.7278 MB / 1.38 GB, free: 6.762 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/1.019, allocations: 53.59 kB / 1.38 GB, free: 6.734 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/1.019, allocations: 67.91 kB / 1.38 GB, free: 6.715 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/1.02, allocations: 0.7744 MB / 1.381 GB, free: 6.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/1.02, allocations: 1.188 kB / 1.381 GB, free: 6.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/1.02, allocations: 31.19 kB / 1.381 GB, free: 6.156 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/1.02, allocations: 21.33 kB / 1.381 GB, free: 6.152 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/1.022, allocations: 0.9708 MB / 1.382 GB, free: 5.691 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/1.025, allocations: 2.464 MB / 1.384 GB, free: 3.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/1.026, allocations: 0.6857 MB / 1.385 GB, free: 3.316 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/1.027, allocations: 257.7 kB / 1.385 GB, free: 3.176 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-05/1.027, allocations: 26.23 kB / 1.385 GB, free: 3.164 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006719/1.028, allocations: 428.3 kB / 1.385 GB, free: 2.887 MB / 1.076 GB Notification: Performance of pre-optimization done (n=70): time 2.685e-06/1.028, allocations: 0 / 1.385 GB, free: 2.887 MB / 1.076 GB Notification: Performance of matching and sorting (n=70): time 0.001553/1.029, allocations: 0.8371 MB / 1.386 GB, free: 2.473 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/1.029, allocations: 243.2 kB / 1.387 GB, free: 2.184 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007459/1.03, allocations: 0.6295 MB / 1.387 GB, free: 1.816 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/1.03, allocations: 38.08 kB / 1.387 GB, free: 1.777 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/1.03, allocations: 375.5 kB / 1.388 GB, free: 1.445 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/1.031, allocations: 239.1 kB / 1.388 GB, free: 1.238 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/1.031, allocations: 135.8 kB / 1.388 GB, free: 1.156 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.031, allocations: 383.9 kB / 1.388 GB, free: 0.7891 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/1.031, allocations: 197.7 kB / 1.388 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/1.032, allocations: 325.8 kB / 1.389 GB, free: 480 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008501/1.033, allocations: 0.495 MB / 1.389 GB, free: 196 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.033, allocations: 4 kB / 1.389 GB, free: 192 kB / 1.076 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001103/1.034, allocations: 0.6387 MB / 1.39 GB, free: 15.86 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.034, allocations: 6.031 kB / 1.39 GB, free: 15.86 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.034, allocations: 1.938 kB / 1.39 GB, free: 15.86 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.034, allocations: 3.438 kB / 1.39 GB, free: 15.86 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/1.034, allocations: 138.5 kB / 1.39 GB, free: 15.83 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.034, allocations: 7.438 kB / 1.39 GB, free: 15.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/1.035, allocations: 91.64 kB / 1.39 GB, free: 15.77 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/1.035, allocations: 26.64 kB / 1.39 GB, free: 15.76 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.000326/1.035, allocations: 253.8 kB / 1.39 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.036, allocations: 82.45 kB / 1.39 GB, free: 15.51 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/1.037, allocations: 0.8462 MB / 1.391 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.037, allocations: 8.906 kB / 1.391 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/1.037, allocations: 8.781 kB / 1.391 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/1.037, allocations: 9.391 kB / 1.391 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/1.038, allocations: 0.9717 MB / 1.392 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.038, allocations: 2.719 kB / 1.392 GB, free: 14.25 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/1.039, allocations: 132.4 kB / 1.392 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.039, allocations: 7.094 kB / 1.392 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/1.039, allocations: 19.64 kB / 1.392 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.039, allocations: 2.938 kB / 1.392 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.039, allocations: 1.062 kB / 1.392 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.04, allocations: 0.7441 MB / 1.393 GB, free: 13.79 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/1.04, allocations: 261.2 kB / 1.393 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.04, allocations: 21.41 kB / 1.393 GB, free: 13.55 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/1.041, allocations: 50.75 kB / 1.393 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.041, allocations: 69.59 kB / 1.394 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/1.041, allocations: 32.11 kB / 1.394 GB, free: 13.47 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005653/1.042, allocations: 457.4 kB / 1.394 GB, free: 13.21 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.1e-07/1.042, allocations: 0 / 1.394 GB, free: 13.21 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007843/1.043, allocations: 267 kB / 1.394 GB, free: 13.14 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.002605/1.045, allocations: 1.795 MB / 1.396 GB, free: 12.01 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009253/1.046, allocations: 0.5486 MB / 1.397 GB, free: 11.77 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.046, allocations: 0 / 1.397 GB, free: 11.77 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004957/1.047, allocations: 324 kB / 1.397 GB, free: 11.64 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.048, allocations: 283.8 kB / 1.397 GB, free: 11.49 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007056/1.055, allocations: 5.544 MB / 1.403 GB, free: 8.02 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/1.055, allocations: 0.9724 MB / 1.403 GB, free: 7.195 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006894/1.056, allocations: 258.7 kB / 1.404 GB, free: 7.062 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/1.057, allocations: 335.9 kB / 1.404 GB, free: 6.801 MB / 1.092 GB Notification: Performance of SimCode: time 2.5e-07/1.057, allocations: 0 / 1.404 GB, free: 6.801 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04549/1.102, allocations: 18.67 MB / 1.422 GB, free: 6.469 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.655/9.757, allocations: 10.92 kB / 1.422 GB, free: 6.461 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv --start-time 0 --stop-time 9.4608e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches