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.00107/0.00107, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001915/0.001915, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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 1.064/1.064, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.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 2.064/2.064, allocations: 389.6 MB / 0.6354 GB, free: 12.27 MB / 0.6042 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.273e-06/1.273e-06, allocations: 0.6562 kB / 0.7753 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.341e-05, allocations: 2.938 kB / 0.7753 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00209/0.002103, allocations: 1.825 MB / 0.777 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003216, allocations: 0.6165 MB / 0.7776 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.003275, allocations: 0 / 0.7776 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.644e-05/0.003372, allocations: 12.73 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.003493, allocations: 37.97 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.004088, allocations: 379.5 kB / 0.7781 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.004506, allocations: 0.6032 MB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.695e-05/0.004583, allocations: 29.92 kB / 0.7787 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/0.004949, allocations: 415.6 kB / 0.7791 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.005152, allocations: 152 kB / 0.7792 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.005206, allocations: 44 kB / 0.7793 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.005257, allocations: 42.75 kB / 0.7793 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.0056, allocations: 131.6 kB / 0.7794 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.005706, allocations: 147.7 kB / 0.7796 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.00602, allocations: 430.8 kB / 0.78 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.006022, allocations: 0 / 0.78 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.12e-07/0.006022, allocations: 0 / 0.78 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.006026, allocations: 0 / 0.78 GB, free: 0.4961 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.0007675/0.006794, allocations: 0.7845 MB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.006823, allocations: 8.75 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/0.006895, allocations: 48.88 kB / 0.7808 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.007117, allocations: 255.9 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.007149, allocations: 20.36 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.007193, allocations: 28.38 kB / 0.7811 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.007504, allocations: 196.8 kB / 0.7813 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.007512, allocations: 192 / 0.7813 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.007528, allocations: 4.375 kB / 0.7813 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.007533, allocations: 384 / 0.7813 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.007618, allocations: 54.97 kB / 0.7813 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.008128, allocations: 325.5 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.008276, allocations: 94.05 kB / 0.7817 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.008349, allocations: 50.2 kB / 0.7818 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.008363, allocations: 4 kB / 0.7818 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.008524, allocations: 153.6 kB / 0.7819 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.008526, allocations: 0 / 0.7819 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003208/0.008847, allocations: 206.5 kB / 0.7821 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.008877, allocations: 61.22 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.009079, allocations: 339.4 kB / 0.7825 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.009116, allocations: 45.69 kB / 0.7825 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.009166, allocations: 101.4 kB / 0.7826 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.009195, allocations: 43.67 kB / 0.7827 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.009309, allocations: 122 kB / 0.7828 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/0.009388, allocations: 328.8 kB / 0.7831 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.009551, allocations: 163.3 kB / 0.7833 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.009707, allocations: 217.3 kB / 0.7835 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.009892, allocations: 254.1 kB / 0.7837 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.009895, allocations: 0 / 0.7837 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000358/0.01025, allocations: 456.6 kB / 0.7842 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.01031, allocations: 98.5 kB / 0.7843 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01031, allocations: 3.984 kB / 0.7843 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01033, allocations: 5.656 kB / 0.7843 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.01044, allocations: 31.97 kB / 0.7843 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01044, allocations: 7.938 kB / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.01067, allocations: 48.7 kB / 0.7843 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.01073, allocations: 47.98 kB / 0.7844 GB, free: 11.73 MB / 0.7448 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.0001137/0.01084, allocations: 148.2 kB / 0.7845 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.124e-05/0.01088, allocations: 33.5 kB / 0.7846 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.01092, allocations: 35.72 kB / 0.7846 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01093, allocations: 4 kB / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.01093, allocations: 0 / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01093, allocations: 4.531 kB / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.01136, allocations: 399.9 kB / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01136, allocations: 0 / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.01139, allocations: 4 kB / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01139, allocations: 7.922 kB / 0.785 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.01142, allocations: 12.73 kB / 0.785 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01142, allocations: 0 / 0.785 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01142, allocations: 0.5938 kB / 0.785 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.01164, allocations: 244.9 kB / 0.7852 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.01178, allocations: 128 kB / 0.7854 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.01183, allocations: 16.78 kB / 0.7854 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.012, allocations: 32.88 kB / 0.7854 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.01202, allocations: 13.17 kB / 0.7854 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.01206, allocations: 43.97 kB / 0.7855 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001039/0.01217, allocations: 144.7 kB / 0.7856 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01217, allocations: 1.156 kB / 0.7856 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001968/0.01236, allocations: 67.95 kB / 0.7857 GB, free: 10.38 MB / 0.7448 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.0001128/0.01248, allocations: 117.7 kB / 0.7858 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004003/0.01288, allocations: 409.3 kB / 0.7862 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.01288, allocations: 9.031 kB / 0.7862 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.113e-05/0.01297, allocations: 70.06 kB / 0.7863 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.01319, allocations: 57.2 kB / 0.7863 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.01371, allocations: 487.3 kB / 0.7868 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.825e-05/0.01376, allocations: 87.81 kB / 0.7869 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.952e-05/0.0138, allocations: 13.48 kB / 0.7869 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.014, allocations: 123.8 kB / 0.787 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.014, allocations: 0 / 0.787 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of Templates: time 0.007215/0.02122, allocations: 5.881 MB / 0.7927 GB, free: 3.105 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.354561322834343]