Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.003878/0.003878, allocations: 99.03 kB / 15.73 MB, free: 6.008 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.0009504/0.0009504, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.182/1.182, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001946/0.001946, allocations: 278.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8543/0.8543, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 96.7 kB / 0.6809 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1316, allocations: 86.96 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005145/0.1367, allocations: 4.265 MB / 0.77 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.402/0.5387, allocations: 150.5 MB / 0.917 GB, free: 8.133 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005428/0.5393, allocations: 19.88 kB / 0.917 GB, free: 8.113 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.5398, allocations: 177 kB / 0.9172 GB, free: 7.941 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.541, allocations: 491.4 kB / 0.9177 GB, free: 7.477 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.5425, allocations: 0.7592 MB / 0.9184 GB, free: 6.746 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009246/0.5434, allocations: 1.204 MB / 0.9196 GB, free: 5.539 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005942/0.544, allocations: 0.5093 MB / 0.9201 GB, free: 5.02 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.5444, allocations: 414.5 kB / 0.9205 GB, free: 4.613 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.5452, allocations: 418.1 kB / 0.9209 GB, free: 4.203 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.5453, allocations: 96 kB / 0.921 GB, free: 4.109 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005318/0.5458, allocations: 407.6 kB / 0.9214 GB, free: 3.711 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.546, allocations: 259.2 kB / 0.9216 GB, free: 3.457 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003603/0.5464, allocations: 473.5 kB / 0.9221 GB, free: 2.992 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.5476, allocations: 1.402 MB / 0.9234 GB, free: 1.594 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.5476, allocations: 2.719 kB / 0.9234 GB, free: 1.594 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5477, allocations: 4 kB / 0.9235 GB, free: 1.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.5477, allocations: 3.938 kB / 0.9235 GB, free: 1.586 MB / 0.67 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.001814/0.5495, allocations: 1.307 MB / 0.9247 GB, free: 228 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.5495, allocations: 12.02 kB / 0.9247 GB, free: 216 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.5496, allocations: 122.6 kB / 0.9249 GB, free: 84 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.5499, allocations: 114.2 kB / 0.925 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009348/0.5509, allocations: 0.7179 MB / 0.9257 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.5509, allocations: 54 kB / 0.9257 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.551, allocations: 71.92 kB / 0.9258 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.5521, allocations: 0.7643 MB / 0.9265 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.5521, allocations: 4 kB / 0.9265 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.894e-05/0.5522, allocations: 31.94 kB / 0.9266 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.5522, allocations: 20 kB / 0.9266 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5534, allocations: 0.9728 MB / 0.9275 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.5562, allocations: 2.455 MB / 0.9299 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.5572, allocations: 0.6808 MB / 0.9306 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.5576, allocations: 259.3 kB / 0.9308 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.5576, allocations: 28.47 kB / 0.9309 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005816/0.5582, allocations: 430.8 kB / 0.9313 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 1.853e-06/0.5582, allocations: 0 / 0.9313 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.001296/0.5595, allocations: 0.8304 MB / 0.9321 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/0.5596, allocations: 247.8 kB / 0.9323 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/0.5603, allocations: 0.6333 MB / 0.933 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.5603, allocations: 41.7 kB / 0.933 GB, free: 7.473 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.5606, allocations: 369 kB / 0.9333 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.5607, allocations: 234 kB / 0.9336 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.5609, allocations: 138.2 kB / 0.9337 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5611, allocations: 386.5 kB / 0.9341 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.5614, allocations: 198.3 kB / 0.9343 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.5618, allocations: 325.4 kB / 0.9346 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.5625, allocations: 0.5016 MB / 0.9351 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5625, allocations: 0 / 0.9351 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009164/0.5634, allocations: 0.6412 MB / 0.9357 GB, free: 4.633 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5635, allocations: 10.5 kB / 0.9357 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5635, allocations: 0 / 0.9357 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5635, allocations: 4 kB / 0.9357 GB, free: 4.621 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.564, allocations: 140 kB / 0.9358 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.564, allocations: 6.375 kB / 0.9358 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.5645, allocations: 79.58 kB / 0.9359 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.5645, allocations: 35.95 kB / 0.9359 GB, free: 4.367 MB / 0.6856 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.0002769/0.5648, allocations: 250.3 kB / 0.9362 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5649, allocations: 87.42 kB / 0.9363 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.5663, allocations: 0.8506 MB / 0.9371 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.5663, allocations: 8 kB / 0.9371 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5663, allocations: 3.938 kB / 0.9371 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.5663, allocations: 3.984 kB / 0.9371 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.5673, allocations: 0.9716 MB / 0.9381 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5673, allocations: 4 kB / 0.9381 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.5677, allocations: 131.8 kB / 0.9382 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5677, allocations: 0 / 0.9382 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.5678, allocations: 19.98 kB / 0.9382 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5678, allocations: 8.031 kB / 0.9382 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5678, allocations: 0 / 0.9382 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.5688, allocations: 0.7475 MB / 0.9389 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.5691, allocations: 264.3 kB / 0.9392 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/0.5692, allocations: 16 kB / 0.9392 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.5697, allocations: 55.94 kB / 0.9393 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.5698, allocations: 60.56 kB / 0.9393 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.5699, allocations: 31.98 kB / 0.9394 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004743/0.5703, allocations: 455 kB / 0.9398 GB, free: 328 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5703, allocations: 4 kB / 0.9398 GB, free: 324 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005364/0.5709, allocations: 271.2 kB / 0.9401 GB, free: 52 kB / 0.6856 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.002291/0.5732, allocations: 1.783 MB / 0.9418 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008048/0.574, allocations: 0.5482 MB / 0.9423 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.574, allocations: 0 / 0.9423 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.5744, allocations: 327.9 kB / 0.9426 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009418/0.5754, allocations: 270.2 kB / 0.9429 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006299/0.5817, allocations: 5.536 MB / 0.9483 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.5822, allocations: 0.9757 MB / 0.9493 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005828/0.5828, allocations: 258.1 kB / 0.9495 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.5832, allocations: 339.3 kB / 0.9498 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of SimCode: time 2.1e-07/0.5832, allocations: 0 / 0.9498 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.6201, allocations: 18.33 MB / 0.9677 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/8.324, allocations: 23.62 kB / 0.9678 GB, free: 4.004 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.csv --start-time 3.09924e+07 --stop-time 3.186e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)