Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001274/0.001274, allocations: 79.78 kB / 19.94 MB, free: 1.773 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.001349/0.001349, allocations: 165.2 kB / 23.22 MB, free: 4.891 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.376/1.376, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 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.8907/0.8907, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.5547 GB, free: 2.594 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.344e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002733/0.002756, allocations: 1.722 MB / 0.5564 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.0042, allocations: 0.6051 MB / 0.557 GB, free: 268 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.004282, allocations: 3.938 kB / 0.557 GB, free: 264 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.004399, allocations: 11.86 kB / 0.557 GB, free: 252 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.004552, allocations: 35.78 kB / 0.557 GB, free: 216 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.005468, allocations: 373.8 kB / 0.5574 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006736/0.006142, allocations: 0.6087 MB / 0.558 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.006249, allocations: 25.02 kB / 0.558 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005683/0.006817, allocations: 419.6 kB / 0.5584 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.007125, allocations: 139.7 kB / 0.5586 GB, free: 14.67 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.007239, allocations: 40 kB / 0.5586 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.007348, allocations: 40 kB / 0.5586 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.007499, allocations: 131.6 kB / 0.5588 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.007689, allocations: 143.7 kB / 0.5589 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000681/0.00837, allocations: 0.6429 MB / 0.5595 GB, free: 13.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.008373, allocations: 4 kB / 0.5595 GB, free: 13.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.008374, allocations: 0 / 0.5595 GB, free: 13.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.008379, allocations: 0 / 0.5595 GB, free: 13.67 MB / 478.1 MB 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.001345/0.009723, allocations: 0.83 MB / 0.5603 GB, free: 12.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.009764, allocations: 16.56 kB / 0.5604 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.009896, allocations: 56.66 kB / 0.5604 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.01038, allocations: 283.9 kB / 0.5607 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.01043, allocations: 24.36 kB / 0.5607 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.01052, allocations: 28.36 kB / 0.5607 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.01168, allocations: 250 kB / 0.561 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.01169, allocations: 192 / 0.561 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.01172, allocations: 12.31 kB / 0.561 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.01173, allocations: 4.312 kB / 0.561 GB, free: 12.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.01261, allocations: 131.8 kB / 0.5611 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.01391, allocations: 0.543 MB / 0.5616 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.01503, allocations: 186.4 kB / 0.5618 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.01585, allocations: 124.7 kB / 0.5619 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.01587, allocations: 8 kB / 0.5619 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009862/0.01685, allocations: 241.7 kB / 0.5622 GB, free: 10.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.01686, allocations: 0 / 0.5622 GB, free: 10.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.002763/0.01962, allocations: 0.5402 MB / 0.5627 GB, free: 10.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.01967, allocations: 59.39 kB / 0.5628 GB, free: 10.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.02016, allocations: 441.9 kB / 0.5632 GB, free: 9.754 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.02023, allocations: 45.69 kB / 0.5632 GB, free: 9.703 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.02034, allocations: 105.4 kB / 0.5633 GB, free: 9.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.02038, allocations: 35.75 kB / 0.5634 GB, free: 9.562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.0206, allocations: 137.4 kB / 0.5635 GB, free: 9.422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.02075, allocations: 322.8 kB / 0.5638 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.02112, allocations: 219.3 kB / 0.564 GB, free: 8.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.02153, allocations: 282.3 kB / 0.5643 GB, free: 8.562 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.02197, allocations: 298.6 kB / 0.5646 GB, free: 8.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02197, allocations: 0 / 0.5646 GB, free: 8.238 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001013/0.02298, allocations: 0.6105 MB / 0.5652 GB, free: 7.598 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.02309, allocations: 91.36 kB / 0.5652 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.02309, allocations: 4 kB / 0.5652 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.02311, allocations: 0 / 0.5652 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.02327, allocations: 27.92 kB / 0.5653 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.02328, allocations: 8.188 kB / 0.5653 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.02379, allocations: 59.91 kB / 0.5653 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.02389, allocations: 59.97 kB / 0.5654 GB, free: 7.34 MB / 478.1 MB 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.0002597/0.02415, allocations: 228.2 kB / 0.5656 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.02423, allocations: 39.7 kB / 0.5657 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.0243, allocations: 39.73 kB / 0.5657 GB, free: 7.023 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.0243, allocations: 11.98 kB / 0.5657 GB, free: 7.012 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.02431, allocations: 4 kB / 0.5657 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02431, allocations: 0 / 0.5657 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.02665, allocations: 0.7472 MB / 0.5664 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02665, allocations: 4 kB / 0.5664 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.02669, allocations: 7.984 kB / 0.5664 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.02669, allocations: 0 / 0.5664 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.02673, allocations: 23.91 kB / 0.5665 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.02673, allocations: 0 / 0.5665 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02673, allocations: 0 / 0.5665 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.02868, allocations: 0.5189 MB / 0.567 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.02899, allocations: 185.4 kB / 0.5672 GB, free: 5.469 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.02907, allocations: 16 kB / 0.5672 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.02957, allocations: 31.97 kB / 0.5672 GB, free: 5.422 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.02961, allocations: 11.98 kB / 0.5672 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.02968, allocations: 59.97 kB / 0.5673 GB, free: 5.352 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003359/0.03002, allocations: 319.1 kB / 0.5676 GB, free: 5.047 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03002, allocations: 0 / 0.5676 GB, free: 5.047 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.03037, allocations: 75.94 kB / 0.5676 GB, free: 4.973 MB / 478.1 MB 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.0001634/0.03053, allocations: 119.2 kB / 0.5678 GB, free: 4.848 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.03198, allocations: 0.5213 MB / 0.5683 GB, free: 4.289 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.03198, allocations: 384 / 0.5683 GB, free: 4.289 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.03283, allocations: 139.8 kB / 0.5684 GB, free: 4.152 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.03323, allocations: 38.42 kB / 0.5684 GB, free: 4.117 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.03479, allocations: 0.6111 MB / 0.569 GB, free: 3.484 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.03499, allocations: 182.8 kB / 0.5692 GB, free: 3.285 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.803e-05/0.03505, allocations: 13.48 kB / 0.5692 GB, free: 3.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.03509, allocations: 16.5 kB / 0.5692 GB, free: 3.254 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.03509, allocations: 0 / 0.5692 GB, free: 3.254 MB / 478.1 MB Notification: Performance of Templates: time 0.01065/0.04575, allocations: 6.376 MB / 0.5755 GB, free: 12.89 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.116996169090271] Failed to read output from testmodel.py, exit status != 0: 0.054127924144268036 0.06825290799999995 0.05686431699999994 Calling exit ...