Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.001834/0.001834, allocations: 109.2 kB / 16.46 MB, free: 6.512 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.002265/0.002265, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.47/1.47, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003501/0.003501, allocations: 287.7 kB / 309.1 MB, free: 3.949 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.244/1.244, allocations: 180.9 MB / 0.5333 GB, free: 13.68 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 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.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",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.002851/0.002851, allocations: 100.9 kB / 0.7342 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2257, allocations: 95.34 MB / 0.8273 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.003912/0.2296, allocations: 1.557 MB / 0.8288 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2317, allocations: 0.5437 MB / 0.8294 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.2317, allocations: 4 kB / 0.8294 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.2319, allocations: 11.88 kB / 0.8294 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.232, allocations: 23.84 kB / 0.8294 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.2333, allocations: 315.1 kB / 0.8297 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008566/0.2341, allocations: 483.4 kB / 0.8302 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.2342, allocations: 4 kB / 0.8302 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006002/0.2348, allocations: 275.6 kB / 0.8304 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.2352, allocations: 155.6 kB / 0.8306 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.2353, allocations: 24 kB / 0.8306 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2354, allocations: 28 kB / 0.8306 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.2356, allocations: 115.7 kB / 0.8307 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.236, allocations: 183 kB / 0.8309 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.2367, allocations: 422.7 kB / 0.8313 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2367, allocations: 0 / 0.8313 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2367, allocations: 0 / 0.8313 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2367, allocations: 0 / 0.8313 GB, free: 5.781 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001972/0.2387, allocations: 0.8781 MB / 0.8322 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2387, allocations: 12.03 kB / 0.8322 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.815e-05/0.2388, allocations: 38.69 kB / 0.8322 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002618/0.2391, allocations: 56.69 kB / 0.8323 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.2397, allocations: 314.5 kB / 0.8326 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.11e-05/0.2398, allocations: 20.36 kB / 0.8326 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.2399, allocations: 28.36 kB / 0.8326 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.2415, allocations: 210 kB / 0.8328 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2415, allocations: 3.938 kB / 0.8328 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.2416, allocations: 7.984 kB / 0.8328 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2416, allocations: 0 / 0.8328 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.2429, allocations: 103.9 kB / 0.8329 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.2437, allocations: 389.3 kB / 0.8333 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.2453, allocations: 158.5 kB / 0.8335 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.2464, allocations: 104.8 kB / 0.8336 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.2465, allocations: 19.84 kB / 0.8336 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/0.2478, allocations: 219.1 kB / 0.8338 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 3.848e-06/0.2478, allocations: 4 kB / 0.8338 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.003721/0.2516, allocations: 495.5 kB / 0.8343 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.2516, allocations: 59.41 kB / 0.8343 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.2523, allocations: 409.9 kB / 0.8347 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.2524, allocations: 37.7 kB / 0.8347 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.2525, allocations: 97.44 kB / 0.8348 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.2526, allocations: 43.69 kB / 0.8349 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002947/0.2529, allocations: 121.5 kB / 0.835 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.2531, allocations: 326.8 kB / 0.8353 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.2535, allocations: 119.9 kB / 0.8354 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.254, allocations: 176.2 kB / 0.8356 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006079/0.2546, allocations: 280 kB / 0.8359 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2546, allocations: 0 / 0.8359 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001321/0.2559, allocations: 492.6 kB / 0.8363 GB, free: 324 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.256, allocations: 91.31 kB / 0.8364 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2561, allocations: 192 / 0.8364 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.2561, allocations: 8 kB / 0.8364 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.2563, allocations: 23.97 kB / 0.8364 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.2563, allocations: 3.938 kB / 0.8365 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.257, allocations: 63.78 kB / 0.8365 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.2572, allocations: 59.98 kB / 0.8366 GB, free: 60 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0004124/0.2576, allocations: 192 kB / 0.8368 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.2577, allocations: 43.69 kB / 0.8368 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.959e-05/0.2578, allocations: 43.75 kB / 0.8368 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2578, allocations: 4 kB / 0.8368 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2578, allocations: 0 / 0.8368 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2578, allocations: 3.938 kB / 0.8368 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.2611, allocations: 0.7444 MB / 0.8376 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2611, allocations: 0 / 0.8376 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.2612, allocations: 4 kB / 0.8376 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.2612, allocations: 7.938 kB / 0.8376 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.2612, allocations: 19.97 kB / 0.8376 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2612, allocations: 0 / 0.8376 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2612, allocations: 0 / 0.8376 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.2638, allocations: 478.4 kB / 0.8381 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.2642, allocations: 204.7 kB / 0.8383 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.2643, allocations: 12 kB / 0.8383 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/0.265, allocations: 31.95 kB / 0.8383 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.2651, allocations: 8 kB / 0.8383 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-05/0.2652, allocations: 59.97 kB / 0.8384 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003455/0.2655, allocations: 299 kB / 0.8386 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2655, allocations: 0 / 0.8386 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005095/0.266, allocations: 71.92 kB / 0.8387 GB, free: 13.76 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002402/0.2684, allocations: 1.021 MB / 0.8397 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.2699, allocations: 410.5 kB / 0.8401 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2699, allocations: 0 / 0.8401 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008477/0.2707, allocations: 110.8 kB / 0.8402 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.2712, allocations: 31.78 kB / 0.8402 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/0.2761, allocations: 2.791 MB / 0.843 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.2766, allocations: 0.7708 MB / 0.8437 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.021e-05/0.2766, allocations: 9.094 kB / 0.8437 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.2767, allocations: 27.42 kB / 0.8437 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of SimCode: time 1.473e-06/0.2767, allocations: 0 / 0.8437 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.3153, allocations: 6.174 MB / 0.8498 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/8.753, allocations: 8.688 kB / 0.8498 GB, free: 2.246 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.100257635116577] Failed to read output from testmodel.py, exit status != 0: 8.824305729940534 8.845577776 8.605053508 Calling exit ...