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.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: "" <> 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.001231/0.001231, allocations: 108 kB / 15.61 MB, free: 148 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.001282/0.001282, allocations: 194.7 kB / 16.53 MB, free: 6.656 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.193/1.193, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.413/2.413, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 66.91 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2314, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005348/0.2368, allocations: 4.534 MB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1293/0.3661, allocations: 150.5 MB / 1.215 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006101/0.3667, allocations: 15.94 kB / 1.215 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.3673, allocations: 178.3 kB / 1.215 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.3688, allocations: 0.5069 MB / 1.216 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.3703, allocations: 0.7508 MB / 1.217 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3713, allocations: 1.234 MB / 1.218 GB, free: 184 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006256/0.372, allocations: 494.6 kB / 1.218 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.3724, allocations: 414.5 kB / 1.219 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.3729, allocations: 422.1 kB / 1.219 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.3731, allocations: 104 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005604/0.3736, allocations: 371.7 kB / 1.219 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.3738, allocations: 259.1 kB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.3743, allocations: 493.5 kB / 1.22 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.3755, allocations: 1.367 MB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3755, allocations: 0 / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3755, allocations: 0 / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.3755, allocations: 3.938 kB / 1.222 GB, free: 12.28 MB / 0.9825 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.001974/0.3775, allocations: 1.282 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.3775, allocations: 12.03 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.3777, allocations: 130.6 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.3779, allocations: 103.7 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.3788, allocations: 0.6915 MB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.3788, allocations: 54 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/0.3789, allocations: 71.92 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3799, allocations: 0.772 MB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3799, allocations: 0 / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.38, allocations: 32 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.38, allocations: 20 kB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3812, allocations: 0.9727 MB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.3839, allocations: 2.482 MB / 1.228 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.385, allocations: 0.6798 MB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.3853, allocations: 255.3 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.3854, allocations: 24.62 kB / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/0.386, allocations: 430.2 kB / 1.229 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 1.813e-06/0.386, allocations: 0 / 1.229 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.00128/0.3873, allocations: 0.8351 MB / 1.23 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.793e-05/0.3874, allocations: 251.8 kB / 1.23 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/0.388, allocations: 0.6253 MB / 1.231 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.3881, allocations: 41.7 kB / 1.231 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.3883, allocations: 364.6 kB / 1.231 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3884, allocations: 228.8 kB / 1.232 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.3886, allocations: 134.3 kB / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3887, allocations: 378.8 kB / 1.232 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.3891, allocations: 201.2 kB / 1.232 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.3895, allocations: 325.4 kB / 1.233 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.3901, allocations: 0.4977 MB / 1.233 GB, free: 24 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3901, allocations: 4 kB / 1.233 GB, free: 20 kB / 0.9825 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009326/0.3911, allocations: 0.633 MB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3911, allocations: 4 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3911, allocations: 0 / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3911, allocations: 8 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.3916, allocations: 139.7 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3916, allocations: 7.984 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.3921, allocations: 83.44 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.3922, allocations: 35.97 kB / 1.234 GB, free: 15.11 MB / 0.9981 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.0002628/0.3924, allocations: 249.6 kB / 1.234 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.3925, allocations: 79.06 kB / 1.234 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.3939, allocations: 0.8524 MB / 1.235 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.3939, allocations: 11.94 kB / 1.235 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.3939, allocations: 3.984 kB / 1.235 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.394, allocations: 7.969 kB / 1.235 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008555/0.3948, allocations: 0.9715 MB / 1.236 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3948, allocations: 0 / 1.236 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.3952, allocations: 127.8 kB / 1.236 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3953, allocations: 4 kB / 1.236 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/0.3953, allocations: 23.98 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3953, allocations: 3.938 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3953, allocations: 4 kB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.3963, allocations: 0.7471 MB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.3966, allocations: 251.8 kB / 1.237 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3967, allocations: 20 kB / 1.237 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.3972, allocations: 58 kB / 1.237 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3973, allocations: 60.56 kB / 1.237 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.3973, allocations: 27.98 kB / 1.237 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004615/0.3978, allocations: 467 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3978, allocations: 0 / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005574/0.3984, allocations: 267.5 kB / 1.238 GB, free: 10.79 MB / 0.9981 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.002237/0.4006, allocations: 1.781 MB / 1.24 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.4019, allocations: 0.7278 MB / 1.24 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4019, allocations: 0 / 1.24 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.4023, allocations: 323.6 kB / 1.241 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009387/0.4033, allocations: 275.8 kB / 1.241 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/0.4096, allocations: 5.701 MB / 1.247 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.4101, allocations: 0.9796 MB / 1.248 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006225/0.4107, allocations: 258.2 kB / 1.248 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.4111, allocations: 331.3 kB / 1.248 GB, free: 456 kB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.4111, allocations: 0 / 1.248 GB, free: 456 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3975/0.8086, allocations: 18.51 MB / 1.266 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/8.039, allocations: 13.91 kB / 1.266 GB, free: 184.4 MB / 0.9981 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