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.0007546/0.0007546, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007778/0.0007778, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8611/0.8611, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.5248/0.5248, allocations: 114 MB / 374.7 MB, free: 8.703 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: 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.233e-06/1.233e-06, allocations: 0 / 0.5555 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.04e-05, allocations: 4.906 kB / 0.5555 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00187/0.00189, allocations: 1.718 MB / 0.5572 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000938/0.002828, allocations: 0.6129 MB / 0.5578 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.002888, allocations: 3.938 kB / 0.5578 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.083e-05/0.002979, allocations: 11.86 kB / 0.5578 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.003089, allocations: 35.78 kB / 0.5578 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.003672, allocations: 377.7 kB / 0.5582 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.004066, allocations: 0.6009 MB / 0.5588 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.004161, allocations: 29.06 kB / 0.5588 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.004497, allocations: 419.5 kB / 0.5592 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.004684, allocations: 140.4 kB / 0.5593 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.004735, allocations: 40 kB / 0.5594 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.00478, allocations: 44 kB / 0.5594 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.004874, allocations: 127.6 kB / 0.5595 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.004981, allocations: 143.7 kB / 0.5597 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.005395, allocations: 0.639 MB / 0.5603 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005398, allocations: 3.984 kB / 0.5603 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005399, allocations: 4 kB / 0.5603 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.005405, allocations: 4 kB / 0.5603 GB, free: 13.25 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.001058/0.006463, allocations: 0.83 MB / 0.5611 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.006494, allocations: 8.625 kB / 0.5611 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.006578, allocations: 60.59 kB / 0.5612 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.006843, allocations: 279.9 kB / 0.5614 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.006876, allocations: 28.36 kB / 0.5615 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.00692, allocations: 28.36 kB / 0.5615 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.007444, allocations: 255.4 kB / 0.5617 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.007452, allocations: 192 / 0.5617 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.00747, allocations: 8.312 kB / 0.5617 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.007475, allocations: 4.375 kB / 0.5617 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.007834, allocations: 135.8 kB / 0.5619 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.008508, allocations: 0.5352 MB / 0.5624 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.008999, allocations: 186.4 kB / 0.5626 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.009342, allocations: 129 kB / 0.5627 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.009364, allocations: 11.98 kB / 0.5627 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.009812, allocations: 245 kB / 0.5629 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.009813, allocations: 0 / 0.5629 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001225/0.01104, allocations: 0.5402 MB / 0.5635 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.01107, allocations: 59.41 kB / 0.5635 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.01135, allocations: 437.9 kB / 0.5639 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.01139, allocations: 41.69 kB / 0.564 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.01145, allocations: 113.4 kB / 0.5641 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.01148, allocations: 39.67 kB / 0.5641 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.0116, allocations: 141.4 kB / 0.5643 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.01167, allocations: 318.8 kB / 0.5646 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.01188, allocations: 227.3 kB / 0.5648 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.0121, allocations: 265.3 kB / 0.565 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.01235, allocations: 307.4 kB / 0.5653 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.01236, allocations: 0 / 0.5653 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005417/0.0129, allocations: 0.6016 MB / 0.5659 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.01295, allocations: 91.38 kB / 0.566 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01295, allocations: 0 / 0.566 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.01297, allocations: 4 kB / 0.566 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.01305, allocations: 23.92 kB / 0.566 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.01306, allocations: 8.188 kB / 0.566 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.01329, allocations: 59.91 kB / 0.5661 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.01334, allocations: 63.97 kB / 0.5662 GB, free: 6.918 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.0001523/0.01349, allocations: 216.3 kB / 0.5664 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.01353, allocations: 43.7 kB / 0.5664 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.01358, allocations: 43.72 kB / 0.5664 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01358, allocations: 4 kB / 0.5664 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01358, allocations: 0 / 0.5664 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01359, allocations: 4 kB / 0.5665 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.01465, allocations: 0.7502 MB / 0.5672 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01465, allocations: 0 / 0.5672 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.01467, allocations: 8 kB / 0.5672 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01467, allocations: 0 / 0.5672 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.01469, allocations: 19.97 kB / 0.5672 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01469, allocations: 8 kB / 0.5672 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.0147, allocations: 0 / 0.5672 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.01575, allocations: 0.5189 MB / 0.5677 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.01593, allocations: 185.4 kB / 0.5679 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.01597, allocations: 16 kB / 0.5679 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.01619, allocations: 35.97 kB / 0.568 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.01621, allocations: 11.98 kB / 0.568 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.01625, allocations: 55.97 kB / 0.568 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001888/0.01644, allocations: 323.1 kB / 0.5683 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01644, allocations: 0 / 0.5683 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002146/0.01666, allocations: 64 kB / 0.5684 GB, free: 4.574 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.0001009/0.01676, allocations: 123.2 kB / 0.5685 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.01745, allocations: 0.5237 MB / 0.569 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01745, allocations: 0 / 0.569 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.01779, allocations: 136.2 kB / 0.5691 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.01804, allocations: 46.38 kB / 0.5692 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.01887, allocations: 0.6534 MB / 0.5698 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.01898, allocations: 178.8 kB / 0.57 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.01901, allocations: 20.48 kB / 0.57 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.01901, allocations: 0 / 0.57 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of Templates: time 0.003624/0.02264, allocations: 4.108 MB / 0.574 GB, free: 14.68 MB / 0.5417 GB " [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: 4.7472312385216355] Failed to read output from testmodel.py, exit status != 0: 0.027744686231017113 0.035272291000000004 0.028346751000000003 Calling exit ...