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.001047/0.001047, 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.001063/0.001063, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 287 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9452/0.9452, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 96.55 kB / 0.5953 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1407, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005655/0.1464, allocations: 4.253 MB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4119/0.5583, allocations: 150.5 MB / 0.8314 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.559, allocations: 19.06 kB / 0.8314 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.5594, allocations: 167.6 kB / 0.8316 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.5607, allocations: 499.9 kB / 0.8321 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.5621, allocations: 0.7448 MB / 0.8328 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009165/0.563, allocations: 1.201 MB / 0.834 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006046/0.5636, allocations: 0.5082 MB / 0.8345 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.564, allocations: 404 kB / 0.8349 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007476/0.5648, allocations: 425.2 kB / 0.8353 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.5649, allocations: 97.69 kB / 0.8354 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006487/0.5656, allocations: 374.2 kB / 0.8357 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.5658, allocations: 257.2 kB / 0.836 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.5661, allocations: 487 kB / 0.8364 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.5673, allocations: 1.358 MB / 0.8378 GB, free: 44 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5674, allocations: 0 / 0.8378 GB, free: 44 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.031e-06/0.5674, allocations: 3.938 kB / 0.8378 GB, free: 40 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.5674, allocations: 0 / 0.8378 GB, free: 40 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.002033/0.5694, allocations: 1.27 MB / 0.839 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5695, allocations: 9.594 kB / 0.839 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.5696, allocations: 120.5 kB / 0.8391 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002959/0.5699, allocations: 114.8 kB / 0.8392 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008281/0.5707, allocations: 0.6856 MB / 0.8399 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.5708, allocations: 56.64 kB / 0.84 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.916e-05/0.5709, allocations: 63.25 kB / 0.84 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.572, allocations: 0.7787 MB / 0.8408 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.572, allocations: 1.469 kB / 0.8408 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.5721, allocations: 26.88 kB / 0.8408 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.5721, allocations: 17.81 kB / 0.8408 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.5734, allocations: 0.9704 MB / 0.8418 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.5765, allocations: 2.49 MB / 0.8442 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.5776, allocations: 0.685 MB / 0.8449 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.578, allocations: 246.9 kB / 0.8451 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/0.578, allocations: 33.14 kB / 0.8451 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006502/0.5787, allocations: 433.9 kB / 0.8455 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/0.5787, allocations: 0 / 0.8455 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001419/0.5801, allocations: 0.8282 MB / 0.8464 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.5803, allocations: 250 kB / 0.8466 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.581, allocations: 0.6314 MB / 0.8472 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.581, allocations: 39.27 kB / 0.8472 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.5813, allocations: 365.1 kB / 0.8476 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.5815, allocations: 223.3 kB / 0.8478 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.5817, allocations: 139.5 kB / 0.8479 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5818, allocations: 381.5 kB / 0.8483 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.5822, allocations: 201.9 kB / 0.8485 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.5826, allocations: 327.1 kB / 0.8488 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.5834, allocations: 0.5009 MB / 0.8493 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5834, allocations: 0 / 0.8493 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009831/0.5844, allocations: 0.6362 MB / 0.8499 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5844, allocations: 5.25 kB / 0.8499 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5844, allocations: 2.719 kB / 0.8499 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.5844, allocations: 4.719 kB / 0.8499 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.5849, allocations: 132.7 kB / 0.8501 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.5849, allocations: 12.75 kB / 0.8501 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.5855, allocations: 83.64 kB / 0.8502 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.5856, allocations: 26.42 kB / 0.8502 GB, free: 8.965 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.0003265/0.5859, allocations: 256.8 kB / 0.8504 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.586, allocations: 81 kB / 0.8505 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.5876, allocations: 0.8522 MB / 0.8513 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.5876, allocations: 14.02 kB / 0.8513 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5876, allocations: 3.938 kB / 0.8513 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5876, allocations: 7.984 kB / 0.8514 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.5887, allocations: 0.9684 MB / 0.8523 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.5887, allocations: 2.906 kB / 0.8523 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.5891, allocations: 119.6 kB / 0.8524 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5891, allocations: 6.312 kB / 0.8524 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.5892, allocations: 27.66 kB / 0.8524 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5892, allocations: 2.656 kB / 0.8525 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5892, allocations: 2.219 kB / 0.8525 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.5902, allocations: 0.7365 MB / 0.8532 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.5905, allocations: 259.5 kB / 0.8534 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5907, allocations: 21.53 kB / 0.8534 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.5912, allocations: 55.22 kB / 0.8535 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.5913, allocations: 60.11 kB / 0.8536 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.5914, allocations: 32.38 kB / 0.8536 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005179/0.5919, allocations: 457 kB / 0.854 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5919, allocations: 0 / 0.854 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000688/0.5926, allocations: 269.4 kB / 0.8543 GB, free: 6.371 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.002522/0.5951, allocations: 1.777 MB / 0.856 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.5965, allocations: 0.7239 MB / 0.8567 GB, free: 5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5965, allocations: 3.203 kB / 0.8567 GB, free: 5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.597, allocations: 325.2 kB / 0.857 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.598, allocations: 265.6 kB / 0.8573 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/0.6048, allocations: 5.704 MB / 0.8629 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.6052, allocations: 0.9826 MB / 0.8638 GB, free: 244 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006798/0.6059, allocations: 254.3 kB / 0.8641 GB, free: 112 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.6064, allocations: 337.4 kB / 0.8644 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.6064, allocations: 0 / 0.8644 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.6428, allocations: 18.16 MB / 0.8821 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/8.158, allocations: 5.125 kB / 0.8821 GB, free: 1.852 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)