Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 210.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002564/0.002564, allocations: 289.7 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.264/1.264, allocations: 180.6 MB / 0.5369 GB, free: 14.45 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003038/0.003038, allocations: 111.9 kB / 0.7395 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1683, allocations: 95.38 MB / 0.8326 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007072/0.1754, allocations: 4.158 MB / 0.8367 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1676/0.3429, allocations: 132.6 MB / 0.9662 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006916/0.3436, allocations: 23.81 kB / 0.9662 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.3442, allocations: 178.4 kB / 0.9664 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.3459, allocations: 0.5285 MB / 0.9669 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.3477, allocations: 0.7829 MB / 0.9677 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.3493, allocations: 1.261 MB / 0.9689 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006108/0.3499, allocations: 323.3 kB / 0.9692 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006274/0.3505, allocations: 442.5 kB / 0.9696 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006247/0.3512, allocations: 394.1 kB / 0.97 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.3513, allocations: 100 kB / 0.9701 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008317/0.3521, allocations: 407.6 kB / 0.9705 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.3524, allocations: 271.1 kB / 0.9707 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.3528, allocations: 394 kB / 0.9711 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.3547, allocations: 1.463 MB / 0.9726 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3547, allocations: 0 / 0.9726 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3547, allocations: 0 / 0.9726 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.3548, allocations: 4 kB / 0.9726 GB, free: 8.508 MB / 0.7169 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.002303/0.3571, allocations: 1.255 MB / 0.9738 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3571, allocations: 8.75 kB / 0.9738 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.3573, allocations: 122.7 kB / 0.9739 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007665/0.358, allocations: 140.2 kB / 0.974 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.3593, allocations: 0.6589 MB / 0.9747 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/0.3594, allocations: 53.98 kB / 0.9747 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.3595, allocations: 64 kB / 0.9748 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.3609, allocations: 1.027 MB / 0.9758 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.361, allocations: 0 / 0.9758 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.361, allocations: 28 kB / 0.9758 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.361, allocations: 16 kB / 0.9758 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.3625, allocations: 0.9375 MB / 0.9768 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.366, allocations: 2.245 MB / 0.9789 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.3672, allocations: 0.6421 MB / 0.9796 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.3676, allocations: 235.5 kB / 0.9798 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.937e-05/0.3677, allocations: 20.62 kB / 0.9798 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007255/0.3684, allocations: 471.3 kB / 0.9803 GB, free: 308 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 2.635e-06/0.3684, allocations: 0 / 0.9803 GB, free: 308 kB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.3596/0.728, allocations: 0.8446 MB / 0.9811 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.7281, allocations: 248.1 kB / 0.9813 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.7292, allocations: 0.6508 MB / 0.982 GB, free: 150 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.7292, allocations: 40.11 kB / 0.982 GB, free: 150 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.7296, allocations: 374 kB / 0.9824 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.7298, allocations: 238.3 kB / 0.9826 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.73, allocations: 135.9 kB / 0.9827 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.7301, allocations: 388.5 kB / 0.9831 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.7305, allocations: 201.7 kB / 0.9833 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.731, allocations: 480.5 kB / 0.9837 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007786/0.7318, allocations: 0.4979 MB / 0.9842 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7318, allocations: 1 kB / 0.9842 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001203/0.733, allocations: 0.6405 MB / 0.9849 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.733, allocations: 6.703 kB / 0.9849 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.733, allocations: 3.188 kB / 0.9849 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.733, allocations: 8.547 kB / 0.9849 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.7336, allocations: 135.5 kB / 0.985 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.7336, allocations: 5.031 kB / 0.985 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/0.7341, allocations: 84.56 kB / 0.9851 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.7342, allocations: 32.12 kB / 0.9851 GB, free: 148.6 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.000351/0.7345, allocations: 257 kB / 0.9854 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.7347, allocations: 92.08 kB / 0.9854 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.7363, allocations: 0.8537 MB / 0.9863 GB, free: 148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.7363, allocations: 8.406 kB / 0.9863 GB, free: 148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.7363, allocations: 1.625 kB / 0.9863 GB, free: 148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.7363, allocations: 3.469 kB / 0.9863 GB, free: 148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.7374, allocations: 0.8428 MB / 0.9871 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7374, allocations: 0 / 0.9871 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.7378, allocations: 129 kB / 0.9872 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.7378, allocations: 2.844 kB / 0.9872 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.7378, allocations: 27.66 kB / 0.9873 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.7379, allocations: 4.062 kB / 0.9873 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7379, allocations: 0 / 0.9873 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009506/0.7388, allocations: 0.7473 MB / 0.988 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.7392, allocations: 188.2 kB / 0.9882 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.7393, allocations: 20.81 kB / 0.9882 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.7397, allocations: 58.5 kB / 0.9883 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.7399, allocations: 66.11 kB / 0.9883 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.74, allocations: 29.78 kB / 0.9883 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005812/0.7405, allocations: 474.2 kB / 0.9888 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7405, allocations: 2.906 kB / 0.9888 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006826/0.7412, allocations: 270.8 kB / 0.9891 GB, free: 146.8 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.002973/0.7442, allocations: 1.833 MB / 0.9909 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.7452, allocations: 0.5326 MB / 0.9914 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.7452, allocations: 0.8438 kB / 0.9914 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.7458, allocations: 298.4 kB / 0.9917 GB, free: 145.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.747, allocations: 274.2 kB / 0.9919 GB, free: 145.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009064/0.7561, allocations: 5.606 MB / 0.9974 GB, free: 142.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.7565, allocations: 388 kB / 0.9978 GB, free: 142.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008066/0.7573, allocations: 250.3 kB / 0.998 GB, free: 142.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.7578, allocations: 339.1 kB / 0.9983 GB, free: 142.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/0.7578, allocations: 0 / 0.9983 GB, free: 142.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.8067, allocations: 20.58 MB / 1.018 GB, free: 126.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.1, allocations: 8.844 kB / 1.018 GB, free: 126.7 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv --start-time 0 --stop-time 9.4608e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.420134589076042] Failed to read output from testmodel.py, exit status != 0: 13.271328634116799 13.289155454 12.931033379 Calling exit ...