Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.0007313/0.0007313, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009178/0.0009178, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8698/0.8698, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5883/0.5883, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.212e-05, allocations: 5.562 kB / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002058/0.00208, allocations: 1.706 MB / 0.5559 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.003027, allocations: 0.6186 MB / 0.5565 GB, free: 404 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.003108, allocations: 4 kB / 0.5565 GB, free: 400 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.295e-05/0.003201, allocations: 15.8 kB / 0.5565 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.003325, allocations: 35.78 kB / 0.5566 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.004094, allocations: 378.1 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.004571, allocations: 0.597 MB / 0.5575 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.004674, allocations: 25.06 kB / 0.5575 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000668/0.005342, allocations: 423.5 kB / 0.5579 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.005606, allocations: 139.8 kB / 0.5581 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.00566, allocations: 44 kB / 0.5581 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.005708, allocations: 40 kB / 0.5582 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.005803, allocations: 131.6 kB / 0.5583 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.005938, allocations: 151.7 kB / 0.5584 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.006358, allocations: 0.6427 MB / 0.5591 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.00636, allocations: 0 / 0.5591 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.92e-07/0.006361, allocations: 7.875 kB / 0.5591 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.006368, allocations: 0 / 0.5591 GB, free: 13.79 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009519/0.00732, allocations: 0.83 MB / 0.5599 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.007362, allocations: 16.61 kB / 0.5599 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.007404, allocations: 34.75 kB / 0.5599 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.931e-05/0.007494, allocations: 60.64 kB / 0.56 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.007802, allocations: 283.9 kB / 0.5603 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.007833, allocations: 24.31 kB / 0.5603 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.007879, allocations: 32.36 kB / 0.5603 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.00842, allocations: 246 kB / 0.5605 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.008428, allocations: 192 / 0.5605 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.008449, allocations: 8.375 kB / 0.5605 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.008456, allocations: 4.125 kB / 0.5606 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.00883, allocations: 131.9 kB / 0.5607 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.009626, allocations: 0.5697 MB / 0.5612 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.01015, allocations: 182.5 kB / 0.5614 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.01049, allocations: 121 kB / 0.5615 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.01051, allocations: 0 / 0.5615 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004897/0.011, allocations: 255.7 kB / 0.5618 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.011, allocations: 0 / 0.5618 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.00129/0.01229, allocations: 0.5392 MB / 0.5623 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.01233, allocations: 59.41 kB / 0.5623 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.01265, allocations: 441.9 kB / 0.5628 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.01269, allocations: 45.69 kB / 0.5628 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.01275, allocations: 97.44 kB / 0.5629 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.01278, allocations: 47.61 kB / 0.563 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.01291, allocations: 141.4 kB / 0.5631 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.01299, allocations: 326.8 kB / 0.5634 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.01321, allocations: 219.3 kB / 0.5636 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.01344, allocations: 273.2 kB / 0.5639 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.0137, allocations: 294.8 kB / 0.5642 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.0137, allocations: 4 kB / 0.5642 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005882/0.01429, allocations: 0.6046 MB / 0.5647 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.01435, allocations: 91.38 kB / 0.5648 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01436, allocations: 3.984 kB / 0.5648 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.01437, allocations: 4 kB / 0.5648 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.458e-05/0.01446, allocations: 19.98 kB / 0.5649 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.01447, allocations: 3.938 kB / 0.5649 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.0147, allocations: 67.84 kB / 0.5649 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.01476, allocations: 59.98 kB / 0.565 GB, free: 7.383 MB / 0.5261 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001692/0.01493, allocations: 228.2 kB / 0.5652 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.01497, allocations: 47.66 kB / 0.5652 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.01501, allocations: 43.67 kB / 0.5653 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.01501, allocations: 4 kB / 0.5653 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01502, allocations: 3.984 kB / 0.5653 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.01502, allocations: 0 / 0.5653 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.01615, allocations: 0.7631 MB / 0.566 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01615, allocations: 4 kB / 0.566 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.01617, allocations: 7.938 kB / 0.5661 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.01617, allocations: 0 / 0.5661 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.0162, allocations: 27.97 kB / 0.5661 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.0162, allocations: 0 / 0.5661 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0162, allocations: 0 / 0.5661 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.01705, allocations: 0.5111 MB / 0.5666 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.01724, allocations: 177.5 kB / 0.5667 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.01729, allocations: 16 kB / 0.5668 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.01751, allocations: 43.95 kB / 0.5668 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.01754, allocations: 15.92 kB / 0.5668 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.01758, allocations: 59.97 kB / 0.5669 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001283/0.01886, allocations: 315.1 kB / 0.5672 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/0.01886, allocations: 0 / 0.5672 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005254/0.01939, allocations: 71.98 kB / 0.5672 GB, free: 4.992 MB / 0.5261 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.001822/0.02121, allocations: 1.078 MB / 0.5683 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.02232, allocations: 0.5213 MB / 0.5688 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.02233, allocations: 0 / 0.5688 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.02282, allocations: 132.2 kB / 0.5689 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.02324, allocations: 49.53 kB / 0.569 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.02682, allocations: 3.359 MB / 0.5723 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.02696, allocations: 186.8 kB / 0.5724 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.671e-05/0.02702, allocations: 9.5 kB / 0.5724 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.02709, allocations: 36.48 kB / 0.5725 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/0.02709, allocations: 0 / 0.5725 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.04968, allocations: 8.552 MB / 0.5808 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/6.858, allocations: 13.42 kB / 0.5808 GB, free: 6.953 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.445126304402947] Failed to read output from testmodel.py, exit status != 0: 6.943558534607291 6.954165465 6.946058093 Calling exit ...