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.0006604/0.0006604, 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.0007409/0.0007409, 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.8523/0.8523, 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.5327/0.5327, allocations: 114 MB / 374.7 MB, free: 8.719 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5555 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.085e-05, allocations: 11.64 kB / 0.5555 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001856/0.001877, allocations: 1.714 MB / 0.5572 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009866/0.002864, allocations: 0.6221 MB / 0.5578 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.002918, allocations: 0 / 0.5578 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.003007, allocations: 19.81 kB / 0.5578 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.003112, allocations: 31.78 kB / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.003683, allocations: 369.8 kB / 0.5582 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.004084, allocations: 0.6048 MB / 0.5588 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.004176, allocations: 29.06 kB / 0.5588 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.004503, allocations: 423.5 kB / 0.5592 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.00469, allocations: 132.5 kB / 0.5593 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.004742, allocations: 44 kB / 0.5594 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.152e-05/0.004793, allocations: 40 kB / 0.5594 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.004895, allocations: 127.6 kB / 0.5595 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.005003, allocations: 151.7 kB / 0.5597 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.00541, allocations: 0.639 MB / 0.5603 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005412, allocations: 4 kB / 0.5603 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005413, allocations: 0 / 0.5603 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005417, allocations: 0 / 0.5603 GB, free: 13.28 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.0008333/0.006251, allocations: 0.83 MB / 0.5611 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.006289, allocations: 8.625 kB / 0.5611 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.006371, allocations: 60.66 kB / 0.5612 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.006636, allocations: 283.8 kB / 0.5614 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.006667, allocations: 20.36 kB / 0.5615 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.006715, allocations: 32.36 kB / 0.5615 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.007234, allocations: 254 kB / 0.5617 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.007242, allocations: 192 / 0.5617 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.007261, allocations: 4.375 kB / 0.5617 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.007266, allocations: 384 / 0.5617 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.007626, allocations: 135.8 kB / 0.5619 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000943/0.008569, allocations: 0.5391 MB / 0.5624 GB, free: 11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.009072, allocations: 186.5 kB / 0.5626 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.009413, allocations: 136.9 kB / 0.5627 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.009432, allocations: 0 / 0.5627 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004638/0.009896, allocations: 248 kB / 0.5629 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.009897, allocations: 0 / 0.5629 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.00123/0.01113, allocations: 0.5391 MB / 0.5635 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.01116, allocations: 59.41 kB / 0.5635 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.01145, allocations: 445.8 kB / 0.5639 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.01149, allocations: 45.69 kB / 0.564 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.01155, allocations: 105.3 kB / 0.5641 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.01158, allocations: 39.73 kB / 0.5641 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.01171, allocations: 141.4 kB / 0.5643 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.01178, allocations: 322.8 kB / 0.5646 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.012, allocations: 219.3 kB / 0.5648 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.01221, allocations: 269.3 kB / 0.565 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.01246, allocations: 311.2 kB / 0.5653 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01246, allocations: 0 / 0.5653 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000549/0.01301, allocations: 0.6038 MB / 0.5659 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.01306, allocations: 87.38 kB / 0.566 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01307, allocations: 0 / 0.566 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01308, allocations: 4 kB / 0.566 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.01317, allocations: 28.11 kB / 0.566 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01317, allocations: 0 / 0.566 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.0134, allocations: 67.84 kB / 0.5661 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.01346, allocations: 63.97 kB / 0.5662 GB, free: 6.945 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.01361, allocations: 212.3 kB / 0.5664 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.01365, allocations: 43.7 kB / 0.5664 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.0137, allocations: 47.72 kB / 0.5664 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.0137, allocations: 4 kB / 0.5664 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01371, allocations: 4 kB / 0.5665 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01371, allocations: 0 / 0.5665 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.01478, allocations: 0.744 MB / 0.5672 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01478, allocations: 4 kB / 0.5672 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.0148, allocations: 4 kB / 0.5672 GB, free: 5.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.01481, allocations: 7.984 kB / 0.5672 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.01483, allocations: 23.97 kB / 0.5672 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01483, allocations: 0 / 0.5672 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01483, allocations: 0 / 0.5672 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.01566, allocations: 0.515 MB / 0.5677 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.01585, allocations: 181.4 kB / 0.5679 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.01589, allocations: 12 kB / 0.5679 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.0161, allocations: 43.91 kB / 0.5679 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.01613, allocations: 11.97 kB / 0.568 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/0.01617, allocations: 55.98 kB / 0.568 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002016/0.01637, allocations: 323 kB / 0.5683 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01637, allocations: 0 / 0.5683 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002295/0.0166, allocations: 76 kB / 0.5684 GB, free: 4.594 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.0001016/0.0167, allocations: 115.2 kB / 0.5685 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007099/0.01741, allocations: 0.5271 MB / 0.569 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01741, allocations: 384 / 0.569 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.01777, allocations: 131.9 kB / 0.5691 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.01802, allocations: 43.8 kB / 0.5692 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.01914, allocations: 0.6573 MB / 0.5698 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.01925, allocations: 178.8 kB / 0.57 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.01928, allocations: 20.48 kB / 0.57 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/0.01928, allocations: 0 / 0.57 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of Templates: time 0.003664/0.02295, allocations: 4.105 MB / 0.574 GB, free: 14.71 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.859545853920281] Failed to read output from testmodel.py, exit status != 0: 0.02786625549197197 0.039625485 0.032469231 Calling exit ...