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.001293/0.001293, allocations: 108 kB / 15.6 MB, free: 132 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.00129/0.00129, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 290.3 kB / 290.7 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002753, allocations: 97.25 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1388, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006245/0.145, allocations: 4.255 MB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4128/0.5578, allocations: 150.5 MB / 0.8314 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006228/0.5585, allocations: 14.94 kB / 0.8314 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.5589, allocations: 172.1 kB / 0.8316 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.5602, allocations: 489.7 kB / 0.8321 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.5615, allocations: 0.7458 MB / 0.8328 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008476/0.5624, allocations: 1.208 MB / 0.834 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.563, allocations: 0.5052 MB / 0.8345 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.5634, allocations: 405.3 kB / 0.8349 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007843/0.5642, allocations: 420.1 kB / 0.8353 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.5643, allocations: 98.22 kB / 0.8354 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.5649, allocations: 379.5 kB / 0.8357 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.5651, allocations: 261.6 kB / 0.836 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.5654, allocations: 472.2 kB / 0.8364 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.5666, allocations: 1.362 MB / 0.8377 GB, free: 28 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5666, allocations: 0 / 0.8377 GB, free: 28 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5666, allocations: 0 / 0.8377 GB, free: 28 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.5666, allocations: 1.438 kB / 0.8377 GB, free: 28 kB / 0.5606 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.002301/0.5689, allocations: 1.276 MB / 0.839 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.569, allocations: 10.56 kB / 0.839 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.5691, allocations: 112.7 kB / 0.8391 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.5695, allocations: 111.5 kB / 0.8392 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.5704, allocations: 0.6913 MB / 0.8399 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.5705, allocations: 57.86 kB / 0.8399 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.5705, allocations: 66.25 kB / 0.84 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5717, allocations: 0.7735 MB / 0.8408 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.5717, allocations: 0.9375 kB / 0.8408 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.5718, allocations: 30.38 kB / 0.8408 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5718, allocations: 17.5 kB / 0.8408 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.5731, allocations: 0.9757 MB / 0.8418 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/0.5767, allocations: 2.489 MB / 0.8442 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5778, allocations: 0.6848 MB / 0.8449 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.5782, allocations: 254.2 kB / 0.8451 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.33e-05/0.5783, allocations: 30.58 kB / 0.8451 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007008/0.579, allocations: 425.6 kB / 0.8455 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.274e-06/0.579, allocations: 3.656 kB / 0.8455 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001497/0.5805, allocations: 0.8344 MB / 0.8464 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.5807, allocations: 240 kB / 0.8466 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/0.5814, allocations: 0.6299 MB / 0.8472 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.5815, allocations: 43.7 kB / 0.8472 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.5818, allocations: 363.5 kB / 0.8476 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.582, allocations: 229.8 kB / 0.8478 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.5823, allocations: 137 kB / 0.8479 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.5825, allocations: 383.7 kB / 0.8483 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.5828, allocations: 198.2 kB / 0.8485 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.5833, allocations: 331.8 kB / 0.8488 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/0.5841, allocations: 0.4914 MB / 0.8493 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5841, allocations: 4 kB / 0.8493 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001042/0.5851, allocations: 0.6335 MB / 0.8499 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5851, allocations: 5.344 kB / 0.8499 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5852, allocations: 2.531 kB / 0.8499 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5852, allocations: 4.312 kB / 0.8499 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.5857, allocations: 132.9 kB / 0.8501 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.5857, allocations: 16.58 kB / 0.8501 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.5863, allocations: 88.11 kB / 0.8502 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.5863, allocations: 25.42 kB / 0.8502 GB, free: 8.941 MB / 0.5762 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.0003426/0.5867, allocations: 256.5 kB / 0.8504 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.5868, allocations: 77.16 kB / 0.8505 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.5884, allocations: 0.8485 MB / 0.8513 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.5884, allocations: 11.33 kB / 0.8513 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5884, allocations: 6.688 kB / 0.8513 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.5884, allocations: 3.984 kB / 0.8513 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.5896, allocations: 0.9726 MB / 0.8523 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5897, allocations: 0.8438 kB / 0.8523 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.5901, allocations: 127.8 kB / 0.8524 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.5901, allocations: 8.656 kB / 0.8524 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.5901, allocations: 19.45 kB / 0.8524 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.5902, allocations: 6.344 kB / 0.8525 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5902, allocations: 0 / 0.8525 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.5914, allocations: 0.7396 MB / 0.8532 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.5917, allocations: 257 kB / 0.8534 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.5918, allocations: 27.3 kB / 0.8534 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.5923, allocations: 45.17 kB / 0.8535 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.5925, allocations: 62.12 kB / 0.8535 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.5925, allocations: 36.55 kB / 0.8536 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000564/0.5931, allocations: 464.5 kB / 0.854 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5931, allocations: 0 / 0.854 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000693/0.5938, allocations: 263.5 kB / 0.8543 GB, free: 6.348 MB / 0.5762 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.003166/0.597, allocations: 1.775 MB / 0.856 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.5984, allocations: 0.7233 MB / 0.8567 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5985, allocations: 0 / 0.8567 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.5989, allocations: 327.8 kB / 0.857 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6, allocations: 271.4 kB / 0.8573 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/0.6077, allocations: 5.707 MB / 0.8629 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.6083, allocations: 0.9713 MB / 0.8638 GB, free: 224 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007766/0.6091, allocations: 254.8 kB / 0.8641 GB, free: 92 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/0.6097, allocations: 339.9 kB / 0.8644 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.6097, allocations: 3.188 kB / 0.8644 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04663/0.6563, allocations: 18.14 MB / 0.8821 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.861, allocations: 8.188 kB / 0.8821 GB, free: 1.816 MB / 0.5919 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)