Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001092, allocations: 107.5 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 189.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.3 MB / 0.5492 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 79.59 kB / 0.6717 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2591, allocations: 114.6 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003835/0.2629, allocations: 1.729 MB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2643, allocations: 487.2 kB / 0.7857 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.2644, allocations: 0 / 0.7857 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.2646, allocations: 7.875 kB / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.2648, allocations: 24.22 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.2658, allocations: 255 kB / 0.786 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005659/0.2664, allocations: 423.7 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2665, allocations: 33.11 kB / 0.7864 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004847/0.267, allocations: 266.3 kB / 0.7867 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.2673, allocations: 151.5 kB / 0.7868 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.2674, allocations: 32 kB / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.2675, allocations: 28 kB / 0.7869 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2677, allocations: 91.72 kB / 0.787 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.2679, allocations: 159.3 kB / 0.7871 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.2683, allocations: 335.6 kB / 0.7874 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2683, allocations: 0 / 0.7874 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2683, allocations: 4 kB / 0.7874 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.2683, allocations: 4 kB / 0.7874 GB, free: 9.871 MB / 0.6075 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.001383/0.2697, allocations: 0.777 MB / 0.7882 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2698, allocations: 11.97 kB / 0.7882 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2699, allocations: 31.72 kB / 0.7882 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.2703, allocations: 290.7 kB / 0.7885 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.949e-05/0.2704, allocations: 19.98 kB / 0.7885 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.2705, allocations: 20 kB / 0.7885 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.2715, allocations: 225.4 kB / 0.7888 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2715, allocations: 0 / 0.7888 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.2716, allocations: 8 kB / 0.7888 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2716, allocations: 0 / 0.7888 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008088/0.2724, allocations: 119.9 kB / 0.7889 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2737, allocations: 0.5589 MB / 0.7894 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2747, allocations: 178.5 kB / 0.7896 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000722/0.2754, allocations: 116.7 kB / 0.7897 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.2755, allocations: 4 kB / 0.7897 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009978/0.2765, allocations: 227 kB / 0.7899 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.2765, allocations: 0 / 0.7899 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002578/0.2791, allocations: 459.5 kB / 0.7904 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.2792, allocations: 59.39 kB / 0.7904 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.2795, allocations: 324.4 kB / 0.7907 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.2796, allocations: 37.7 kB / 0.7908 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.2797, allocations: 105 kB / 0.7909 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.2797, allocations: 27.62 kB / 0.7909 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.2799, allocations: 109.5 kB / 0.791 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.28, allocations: 322.8 kB / 0.7913 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.2802, allocations: 91.95 kB / 0.7914 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.2806, allocations: 157.9 kB / 0.7916 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.2809, allocations: 247.5 kB / 0.7918 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.2809, allocations: 0 / 0.7918 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006781/0.2816, allocations: 436.6 kB / 0.7922 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.826e-05/0.2817, allocations: 78.2 kB / 0.7923 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2817, allocations: 0 / 0.7923 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.2818, allocations: 4 kB / 0.7923 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.2819, allocations: 27.91 kB / 0.7923 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.282, allocations: 4 kB / 0.7923 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.2825, allocations: 60.05 kB / 0.7924 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.2825, allocations: 39.98 kB / 0.7924 GB, free: 4.43 MB / 0.6075 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.0002155/0.2828, allocations: 191.6 kB / 0.7926 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.2828, allocations: 27.72 kB / 0.7926 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.729e-05/0.2829, allocations: 26.36 kB / 0.7926 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2829, allocations: 4 kB / 0.7926 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2829, allocations: 4 kB / 0.7926 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2829, allocations: 7.922 kB / 0.7927 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.285, allocations: 0.7362 MB / 0.7934 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2851, allocations: 4 kB / 0.7934 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.2851, allocations: 4 kB / 0.7934 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2851, allocations: 0 / 0.7934 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.2852, allocations: 19.97 kB / 0.7934 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2852, allocations: 0 / 0.7934 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2852, allocations: 0 / 0.7934 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.2869, allocations: 458 kB / 0.7938 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.2871, allocations: 188.6 kB / 0.794 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.2872, allocations: 19.98 kB / 0.794 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.2877, allocations: 31.97 kB / 0.7941 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.2877, allocations: 7.984 kB / 0.7941 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.2878, allocations: 51.97 kB / 0.7941 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002056/0.288, allocations: 230.9 kB / 0.7943 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.288, allocations: 0 / 0.7943 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003824/0.2884, allocations: 55.91 kB / 0.7944 GB, free: 2.293 MB / 0.6075 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.0002014/0.2886, allocations: 127.7 kB / 0.7945 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.2899, allocations: 406.8 kB / 0.7949 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2899, allocations: 0 / 0.7949 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007641/0.2907, allocations: 119.9 kB / 0.795 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.2911, allocations: 36.59 kB / 0.7951 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.2926, allocations: 0.5917 MB / 0.7956 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.2929, allocations: 0.7474 MB / 0.7964 GB, free: 196 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.293, allocations: 19.44 kB / 0.7964 GB, free: 176 kB / 0.6075 GB Notification: Performance of SimCode: time 7.02e-07/0.293, allocations: 0 / 0.7964 GB, free: 176 kB / 0.6075 GB Notification: Performance of Templates: time 0.005274/0.2983, allocations: 3.206 MB / 0.7995 GB, free: 12.99 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)