Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006629/0.0006629, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008476/0.00151, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008748/0.0008748, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008567/0.001731, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09527/1.096, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.997/1.997, allocations: 389.9 MB / 0.6191 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.526/2.523, allocations: 127.1 MB / 0.7432 GB, free: 4.609 MB / 0.7136 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7445 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.53e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003218/0.003243, allocations: 1.826 MB / 0.7463 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.004637, allocations: 0.6367 MB / 0.7469 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.004729, allocations: 4 kB / 0.7469 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.356e-05/0.004812, allocations: 8.969 kB / 0.7469 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.004948, allocations: 31.22 kB / 0.747 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009169/0.005864, allocations: 393.7 kB / 0.7473 GB, free: 428 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007557/0.00662, allocations: 0.6164 MB / 0.7479 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.00673, allocations: 28.91 kB / 0.748 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.007262, allocations: 439.5 kB / 0.7484 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.007548, allocations: 145.7 kB / 0.7485 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.632e-05/0.007625, allocations: 40.59 kB / 0.7486 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.222e-05/0.007697, allocations: 41.5 kB / 0.7486 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.00782, allocations: 115.8 kB / 0.7487 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.007962, allocations: 115.8 kB / 0.7488 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.008392, allocations: 386.8 kB / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.901e-05/0.008411, allocations: 1.125 kB / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.392e-06/0.008413, allocations: 0 / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.008433, allocations: 0 / 0.7492 GB, free: 14.54 MB / 0.7292 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.001209/0.009642, allocations: 0.8604 MB / 0.75 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.00968, allocations: 8.688 kB / 0.75 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.009792, allocations: 57.61 kB / 0.7501 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.01013, allocations: 247.9 kB / 0.7503 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.01018, allocations: 25.86 kB / 0.7504 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.52e-05/0.01024, allocations: 28.36 kB / 0.7504 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/0.0107, allocations: 188.7 kB / 0.7506 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.01071, allocations: 192 / 0.7506 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.01074, allocations: 4.375 kB / 0.7506 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.01075, allocations: 4.375 kB / 0.7506 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.01088, allocations: 51.36 kB / 0.7506 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.01167, allocations: 324 kB / 0.7509 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.01191, allocations: 101.3 kB / 0.751 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.01202, allocations: 42.34 kB / 0.7511 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.01205, allocations: 4 kB / 0.7511 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.01231, allocations: 156.6 kB / 0.7512 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.01231, allocations: 0 / 0.7512 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004746/0.01279, allocations: 199.3 kB / 0.7514 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.01284, allocations: 64.55 kB / 0.7515 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.01314, allocations: 339.4 kB / 0.7518 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.01319, allocations: 41.69 kB / 0.7518 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.01327, allocations: 106.2 kB / 0.7519 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.01331, allocations: 39.69 kB / 0.752 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.01347, allocations: 130.1 kB / 0.7521 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01358, allocations: 326.8 kB / 0.7524 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.01382, allocations: 160.3 kB / 0.7526 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.01405, allocations: 213.3 kB / 0.7528 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.01432, allocations: 244.7 kB / 0.753 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.01433, allocations: 6.688 kB / 0.753 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005717/0.0149, allocations: 457.7 kB / 0.7534 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-05/0.01499, allocations: 87.38 kB / 0.7535 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.015, allocations: 0 / 0.7535 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01501, allocations: 6.469 kB / 0.7535 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.0152, allocations: 47.89 kB / 0.7536 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.0152, allocations: 4 kB / 0.7536 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.01545, allocations: 43.86 kB / 0.7536 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-05/0.01553, allocations: 43.98 kB / 0.7537 GB, free: 9.703 MB / 0.7292 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.0001518/0.01568, allocations: 153.5 kB / 0.7538 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.01574, allocations: 27.91 kB / 0.7538 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.0158, allocations: 39.72 kB / 0.7539 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.0158, allocations: 0 / 0.7539 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.01581, allocations: 0 / 0.7539 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01581, allocations: 0.875 kB / 0.7539 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.01643, allocations: 403 kB / 0.7543 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.01643, allocations: 4 kB / 0.7543 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.01647, allocations: 4 kB / 0.7543 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.0167, allocations: 124.2 kB / 0.7544 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.0167, allocations: 3.984 kB / 0.7544 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.01673, allocations: 16.62 kB / 0.7544 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01673, allocations: 0 / 0.7544 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01673, allocations: 0.8125 kB / 0.7544 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.01707, allocations: 253.1 kB / 0.7547 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.01714, allocations: 24 kB / 0.7547 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.01741, allocations: 25.62 kB / 0.7547 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.01744, allocations: 8.984 kB / 0.7547 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.0175, allocations: 51.97 kB / 0.7548 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001566/0.01766, allocations: 144.7 kB / 0.7549 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01766, allocations: 1.656 kB / 0.7549 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003408/0.018, allocations: 67.95 kB / 0.755 GB, free: 8.359 MB / 0.7292 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.0001798/0.01818, allocations: 101.2 kB / 0.7551 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000609/0.01879, allocations: 414.4 kB / 0.7555 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.0188, allocations: 4.531 kB / 0.7555 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.01893, allocations: 66 kB / 0.7555 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.0193, allocations: 84.12 kB / 0.7556 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009944/0.02029, allocations: 481.6 kB / 0.7561 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.257e-05/0.02036, allocations: 88.83 kB / 0.7561 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.02042, allocations: 19.08 kB / 0.7562 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.02068, allocations: 119.2 kB / 0.7563 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/0.02068, allocations: 0 / 0.7563 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of Templates: time 0.01036/0.03105, allocations: 5.94 MB / 0.7621 GB, free: 1.035 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.998357801698148]