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 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: "" <> 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.004264/0.004264, allocations: 97.83 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.00123/0.00123, allocations: 202.9 kB / 16.68 MB, free: 5.965 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.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 482.4 MB / 0.7548 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 60.12 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2864, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006289/0.2927, allocations: 4.513 MB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6869/0.9796, allocations: 150.6 MB / 1.393 GB, free: 2.266 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006788/0.9803, allocations: 14.56 kB / 1.393 GB, free: 2.262 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.981, allocations: 179.2 kB / 1.393 GB, free: 2.105 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.9828, allocations: 0.4995 MB / 1.394 GB, free: 1.754 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.9848, allocations: 0.7618 MB / 1.394 GB, free: 1.199 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.9864, allocations: 1.246 MB / 1.396 GB, free: 436 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008242/0.9872, allocations: 496.8 kB / 1.396 GB, free: 132 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/0.9879, allocations: 411.1 kB / 1.396 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.9885, allocations: 426.5 kB / 1.397 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.9886, allocations: 101.1 kB / 1.397 GB, free: 15.58 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.9893, allocations: 401.5 kB / 1.397 GB, free: 15.44 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.9896, allocations: 253.3 kB / 1.398 GB, free: 15.24 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004756/0.9901, allocations: 495.1 kB / 1.398 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.9917, allocations: 1.411 MB / 1.399 GB, free: 13.86 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.9917, allocations: 5.094 kB / 1.399 GB, free: 13.86 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9917, allocations: 0 / 1.399 GB, free: 13.86 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.9918, allocations: 0 / 1.399 GB, free: 13.86 MB / 1.107 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.002217/0.994, allocations: 1.315 MB / 1.401 GB, free: 12.79 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.994, allocations: 9.719 kB / 1.401 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.9942, allocations: 114.7 kB / 1.401 GB, free: 12.69 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.9945, allocations: 115.5 kB / 1.401 GB, free: 12.63 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.9956, allocations: 0.7242 MB / 1.402 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.9957, allocations: 49.28 kB / 1.402 GB, free: 12.01 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-05/0.9958, allocations: 71.25 kB / 1.402 GB, free: 11.98 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.9971, allocations: 0.7675 MB / 1.402 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.9971, allocations: 4.812 kB / 1.402 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.792e-05/0.9972, allocations: 36.3 kB / 1.402 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.9972, allocations: 16.78 kB / 1.402 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.9986, allocations: 0.9706 MB / 1.403 GB, free: 10.96 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003472/1.002, allocations: 2.471 MB / 1.406 GB, free: 8.945 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/1.003, allocations: 0.6795 MB / 1.407 GB, free: 8.59 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/1.004, allocations: 249 kB / 1.407 GB, free: 8.461 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-05/1.004, allocations: 34.12 kB / 1.407 GB, free: 8.441 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006876/1.005, allocations: 425.1 kB / 1.407 GB, free: 8.164 MB / 1.107 GB Notification: Performance of pre-optimization done (n=70): time 1.994e-06/1.005, allocations: 0 / 1.407 GB, free: 8.164 MB / 1.107 GB Notification: Performance of matching and sorting (n=70): time 0.001565/1.006, allocations: 0.8405 MB / 1.408 GB, free: 7.746 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/1.006, allocations: 243.7 kB / 1.408 GB, free: 7.461 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008049/1.007, allocations: 0.629 MB / 1.409 GB, free: 7.09 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/1.007, allocations: 38.11 kB / 1.409 GB, free: 7.051 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/1.007, allocations: 374.9 kB / 1.409 GB, free: 6.719 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/1.008, allocations: 231.1 kB / 1.409 GB, free: 6.52 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/1.008, allocations: 140.6 kB / 1.41 GB, free: 6.434 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.008, allocations: 384.1 kB / 1.41 GB, free: 6.066 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/1.008, allocations: 202.4 kB / 1.41 GB, free: 5.969 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/1.009, allocations: 324 kB / 1.41 GB, free: 5.742 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/1.01, allocations: 0.4952 MB / 1.411 GB, free: 5.461 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.01, allocations: 0 / 1.411 GB, free: 5.461 MB / 1.107 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00112/1.011, allocations: 0.642 MB / 1.412 GB, free: 5.133 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/1.011, allocations: 7.75 kB / 1.412 GB, free: 5.133 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.011, allocations: 1.156 kB / 1.412 GB, free: 5.133 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/1.011, allocations: 7.406 kB / 1.412 GB, free: 5.133 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/1.012, allocations: 138.5 kB / 1.412 GB, free: 5.098 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/1.012, allocations: 8.062 kB / 1.412 GB, free: 5.094 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/1.012, allocations: 83.86 kB / 1.412 GB, free: 5.043 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/1.012, allocations: 35.08 kB / 1.412 GB, free: 5.027 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: 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.0003419/1.013, allocations: 254.3 kB / 1.412 GB, free: 4.824 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.013, allocations: 81.52 kB / 1.412 GB, free: 4.781 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/1.014, allocations: 0.8534 MB / 1.413 GB, free: 4.312 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.014, allocations: 8.25 kB / 1.413 GB, free: 4.312 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.014, allocations: 5.312 kB / 1.413 GB, free: 4.309 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.014, allocations: 5.359 kB / 1.413 GB, free: 4.305 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/1.016, allocations: 0.9714 MB / 1.414 GB, free: 3.52 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.016, allocations: 1.5 kB / 1.414 GB, free: 3.52 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/1.016, allocations: 123.2 kB / 1.414 GB, free: 3.492 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/1.016, allocations: 6.781 kB / 1.414 GB, free: 3.488 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-05/1.016, allocations: 28.3 kB / 1.414 GB, free: 3.469 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/1.016, allocations: 2.594 kB / 1.414 GB, free: 3.469 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.016, allocations: 1.5 kB / 1.414 GB, free: 3.469 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/1.017, allocations: 0.7436 MB / 1.415 GB, free: 3.062 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/1.018, allocations: 260.7 kB / 1.415 GB, free: 2.832 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.018, allocations: 22 kB / 1.415 GB, free: 2.816 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/1.018, allocations: 55.75 kB / 1.415 GB, free: 2.789 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.018, allocations: 57.61 kB / 1.415 GB, free: 2.758 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/1.018, allocations: 31.62 kB / 1.415 GB, free: 2.746 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005811/1.019, allocations: 461.1 kB / 1.416 GB, free: 2.484 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.019, allocations: 0 / 1.416 GB, free: 2.484 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000688/1.02, allocations: 271.3 kB / 1.416 GB, free: 2.406 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.003306/1.023, allocations: 1.793 MB / 1.418 GB, free: 1.273 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008976/1.024, allocations: 0.5483 MB / 1.418 GB, free: 1.039 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.024, allocations: 0 / 1.418 GB, free: 1.039 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004769/1.025, allocations: 332 kB / 1.419 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/1.026, allocations: 276.4 kB / 1.419 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007868/1.033, allocations: 5.539 MB / 1.424 GB, free: 11.99 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/1.034, allocations: 0.9768 MB / 1.425 GB, free: 10.99 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007211/1.035, allocations: 254.2 kB / 1.425 GB, free: 10.73 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/1.035, allocations: 327.3 kB / 1.426 GB, free: 10.41 MB / 1.123 GB Notification: Performance of SimCode: time 3.81e-07/1.035, allocations: 4 kB / 1.426 GB, free: 10.41 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04812/1.084, allocations: 18.67 MB / 1.444 GB, free: 8.023 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.064/10.15, allocations: 7.188 kB / 1.444 GB, free: 8.02 MB / 1.139 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 400 --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