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.006267/0.006267, allocations: 98.77 kB / 15.73 MB, free: 6.031 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.00166/0.00166, allocations: 194 kB / 16.67 MB, free: 5.953 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002454/0.002454, allocations: 285.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.166/1.166, allocations: 178.5 MB / 0.5074 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002759/0.00276, allocations: 95.83 kB / 0.6943 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4119, allocations: 89.12 MB / 0.7813 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006091/0.4181, allocations: 4.537 MB / 0.7857 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.5929, allocations: 150.5 MB / 0.9328 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008473/0.5937, allocations: 15.94 kB / 0.9328 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.5943, allocations: 178.3 kB / 0.9329 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.596, allocations: 0.5189 MB / 0.9334 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.5978, allocations: 0.7412 MB / 0.9342 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.5991, allocations: 1.246 MB / 0.9354 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.5999, allocations: 0.4986 MB / 0.9359 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005005/0.6004, allocations: 410.5 kB / 0.9363 GB, free: 9.5 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/0.6009, allocations: 424.7 kB / 0.9367 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.6011, allocations: 100 kB / 0.9368 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007665/0.6018, allocations: 403.6 kB / 0.9371 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.6021, allocations: 251.2 kB / 0.9374 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.6026, allocations: 489.5 kB / 0.9379 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.6042, allocations: 1.423 MB / 0.9392 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6042, allocations: 0 / 0.9392 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6042, allocations: 0 / 0.9392 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.6042, allocations: 0 / 0.9392 GB, free: 6.441 MB / 0.7012 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.002258/0.6065, allocations: 1.322 MB / 0.9405 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.6066, allocations: 8.031 kB / 0.9405 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.6067, allocations: 114.7 kB / 0.9407 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.607, allocations: 112.3 kB / 0.9408 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.6081, allocations: 0.7193 MB / 0.9415 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.6081, allocations: 50 kB / 0.9415 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.024e-05/0.6082, allocations: 68 kB / 0.9416 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.6095, allocations: 0.7682 MB / 0.9423 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.6095, allocations: 3.938 kB / 0.9423 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.08e-05/0.6096, allocations: 36 kB / 0.9424 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.6096, allocations: 16 kB / 0.9424 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.6111, allocations: 0.9728 MB / 0.9433 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.6146, allocations: 2.474 MB / 0.9457 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.6158, allocations: 0.6799 MB / 0.9464 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.6162, allocations: 255.4 kB / 0.9467 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/0.6163, allocations: 32.38 kB / 0.9467 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000735/0.6171, allocations: 422.3 kB / 0.9471 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 2.394e-06/0.6171, allocations: 0 / 0.9471 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.001597/0.6187, allocations: 0.8342 MB / 0.9479 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.6188, allocations: 251.9 kB / 0.9481 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007907/0.6196, allocations: 0.6293 MB / 0.9488 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.6197, allocations: 37.7 kB / 0.9488 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.6201, allocations: 377 kB / 0.9491 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.6203, allocations: 234 kB / 0.9494 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.6205, allocations: 138.2 kB / 0.9495 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.6207, allocations: 378.8 kB / 0.9499 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/0.6211, allocations: 201.2 kB / 0.9501 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.6216, allocations: 325.4 kB / 0.9504 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000818/0.6224, allocations: 0.4977 MB / 0.9509 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6224, allocations: 0 / 0.9509 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0011/0.6235, allocations: 0.6412 MB / 0.9515 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6236, allocations: 8 kB / 0.9515 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6236, allocations: 0 / 0.9515 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.6236, allocations: 8.156 kB / 0.9515 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.6241, allocations: 143.7 kB / 0.9516 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.6242, allocations: 4 kB / 0.9516 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.6247, allocations: 79.64 kB / 0.9517 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.6248, allocations: 27.98 kB / 0.9517 GB, free: 9.195 MB / 0.7169 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.0004205/0.6252, allocations: 253.7 kB / 0.952 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.6254, allocations: 87.48 kB / 0.9521 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.6271, allocations: 0.8447 MB / 0.9529 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.6271, allocations: 11.94 kB / 0.9529 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6271, allocations: 0 / 0.9529 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.6271, allocations: 3.984 kB / 0.9529 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.6283, allocations: 0.9677 MB / 0.9538 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6283, allocations: 8 kB / 0.9539 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.6287, allocations: 123.8 kB / 0.954 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.6288, allocations: 0 / 0.954 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.6288, allocations: 35.94 kB / 0.954 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/0.6288, allocations: 4 kB / 0.954 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6288, allocations: 0 / 0.954 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.6301, allocations: 0.7436 MB / 0.9547 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000346/0.6305, allocations: 268.2 kB / 0.955 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.6306, allocations: 16 kB / 0.955 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.6311, allocations: 66.53 kB / 0.9551 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.6312, allocations: 56.58 kB / 0.9551 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.6313, allocations: 31.97 kB / 0.9552 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005759/0.6319, allocations: 459 kB / 0.9556 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6319, allocations: 0 / 0.9556 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000698/0.6326, allocations: 267.3 kB / 0.9559 GB, free: 4.867 MB / 0.7169 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.003264/0.6359, allocations: 1.782 MB / 0.9576 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.6369, allocations: 0.5521 MB / 0.9581 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6369, allocations: 4.312 kB / 0.9581 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.6374, allocations: 327.5 kB / 0.9584 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.6385, allocations: 272.9 kB / 0.9587 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.6465, allocations: 5.539 MB / 0.9641 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.6472, allocations: 0.9797 MB / 0.9651 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006993/0.6479, allocations: 254.2 kB / 0.9653 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.6484, allocations: 327.3 kB / 0.9656 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.6484, allocations: 0 / 0.9656 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07992/0.7283, allocations: 18.7 MB / 0.9839 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.118/9.846, allocations: 15.55 kB / 0.9839 GB, free: 8.477 MB / 0.7481 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)