Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.007347/0.007347, allocations: 101 kB / 15.73 MB, free: 6.055 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.001858/0.001858, allocations: 192.4 kB / 16.67 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 272 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9871/0.9871, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 91.84 kB / 0.6809 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.376, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005913/0.382, allocations: 4.276 MB / 0.77 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1649/0.5469, allocations: 150.5 MB / 0.917 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006662/0.5476, allocations: 23.81 kB / 0.9171 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.5483, allocations: 158.5 kB / 0.9172 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.5499, allocations: 494.5 kB / 0.9177 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.5518, allocations: 0.755 MB / 0.9184 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.5533, allocations: 1.203 MB / 0.9196 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008353/0.5541, allocations: 0.5101 MB / 0.9201 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000596/0.5547, allocations: 410.6 kB / 0.9205 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006418/0.5554, allocations: 414.1 kB / 0.9209 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.5556, allocations: 100 kB / 0.921 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008137/0.5564, allocations: 399.6 kB / 0.9214 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.5567, allocations: 259.2 kB / 0.9216 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.5572, allocations: 477.5 kB / 0.9221 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.559, allocations: 1.402 MB / 0.9234 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.5591, allocations: 4 kB / 0.9234 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5591, allocations: 4 kB / 0.9234 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.83e-05/0.5591, allocations: 0 / 0.9234 GB, free: 1.883 MB / 0.6856 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.002364/0.5615, allocations: 1.307 MB / 0.9247 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5615, allocations: 16.03 kB / 0.9247 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.5617, allocations: 114.7 kB / 0.9248 GB, free: 392 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.562, allocations: 108.3 kB / 0.9249 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.5631, allocations: 0.7193 MB / 0.9256 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.5632, allocations: 54 kB / 0.9257 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.5633, allocations: 67.98 kB / 0.9258 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.5646, allocations: 0.7759 MB / 0.9265 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.5646, allocations: 0 / 0.9265 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.5647, allocations: 32 kB / 0.9265 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.5647, allocations: 19.94 kB / 0.9266 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.5662, allocations: 0.9728 MB / 0.9275 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.5697, allocations: 2.462 MB / 0.9299 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.5709, allocations: 0.6812 MB / 0.9306 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.5714, allocations: 251.3 kB / 0.9308 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.038e-05/0.5714, allocations: 28.52 kB / 0.9309 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007102/0.5722, allocations: 430.3 kB / 0.9313 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.074e-06/0.5722, allocations: 3.938 kB / 0.9313 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001577/0.5738, allocations: 0.8381 MB / 0.9321 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.5739, allocations: 247.8 kB / 0.9323 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008344/0.5748, allocations: 0.6333 MB / 0.9329 GB, free: 7.812 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.5748, allocations: 37.7 kB / 0.933 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.5752, allocations: 369 kB / 0.9333 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.5754, allocations: 246 kB / 0.9336 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.5756, allocations: 134.2 kB / 0.9337 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.5758, allocations: 382.8 kB / 0.9341 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.5762, allocations: 201.2 kB / 0.9342 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.5767, allocations: 321.4 kB / 0.9346 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.5775, allocations: 0.5017 MB / 0.935 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5775, allocations: 0 / 0.935 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001125/0.5786, allocations: 0.6335 MB / 0.9357 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5787, allocations: 4 kB / 0.9357 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.5787, allocations: 7.984 kB / 0.9357 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5787, allocations: 4 kB / 0.9357 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.5792, allocations: 135.8 kB / 0.9358 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.5793, allocations: 11.98 kB / 0.9358 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.5798, allocations: 85.92 kB / 0.9359 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.5799, allocations: 28.05 kB / 0.9359 GB, free: 4.66 MB / 0.7012 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.0003673/0.5802, allocations: 256 kB / 0.9362 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.5804, allocations: 83.44 kB / 0.9362 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.582, allocations: 0.8448 MB / 0.9371 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.5821, allocations: 15.94 kB / 0.9371 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5821, allocations: 0 / 0.9371 GB, free: 3.445 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.5821, allocations: 7.984 kB / 0.9371 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.5833, allocations: 0.9677 MB / 0.938 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5833, allocations: 0 / 0.938 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.5837, allocations: 131.8 kB / 0.9382 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.5838, allocations: 4 kB / 0.9382 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.5838, allocations: 23.98 kB / 0.9382 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.5838, allocations: 0 / 0.9382 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5838, allocations: 11.97 kB / 0.9382 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.585, allocations: 0.7359 MB / 0.9389 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.5854, allocations: 268.1 kB / 0.9392 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.5855, allocations: 19.98 kB / 0.9392 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.586, allocations: 55.89 kB / 0.9393 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.5861, allocations: 60.56 kB / 0.9393 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.5862, allocations: 31.98 kB / 0.9393 GB, free: 1.043 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005774/0.5868, allocations: 459 kB / 0.9398 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5868, allocations: 0 / 0.9398 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007087/0.5875, allocations: 267.3 kB / 0.94 GB, free: 348 kB / 0.7012 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.003288/0.5908, allocations: 1.788 MB / 0.9418 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.5919, allocations: 0.5443 MB / 0.9423 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5919, allocations: 4 kB / 0.9423 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.5925, allocations: 327.8 kB / 0.9426 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.5936, allocations: 264.9 kB / 0.9429 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007919/0.6015, allocations: 5.527 MB / 0.9483 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.6022, allocations: 0.9796 MB / 0.9492 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007523/0.6029, allocations: 258.1 kB / 0.9495 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.6034, allocations: 339.2 kB / 0.9498 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/0.6034, allocations: 0 / 0.9498 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3339/0.9373, allocations: 18.34 MB / 0.9677 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.138/10.08, allocations: 6.438 kB / 0.9677 GB, free: 185.6 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.csv --start-time 0 --stop-time 3.66336e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 14653.4 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)