Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 288.3 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 187.2 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 0.6306 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 116.1 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004197, allocations: 10.38 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.273, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001796/0.2748, allocations: 1.179 MB / 0.9806 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009346/0.2758, allocations: 388.2 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.2759, allocations: 7.938 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.551e-05/0.2759, allocations: 0 / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2761, allocations: 27.89 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.2767, allocations: 206.1 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.2768, allocations: 147.8 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.2769, allocations: 7.984 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.2771, allocations: 167.6 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2773, allocations: 123.7 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/0.2774, allocations: 8 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.2774, allocations: 12 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.2775, allocations: 75.78 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.595e-05/0.2776, allocations: 69.58 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2778, allocations: 199.8 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2778, allocations: 0 / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2778, allocations: 0 / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2778, allocations: 0 / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009727/0.2788, allocations: 0.6226 MB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2788, allocations: 8.031 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.2789, allocations: 31.72 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.2793, allocations: 254.5 kB / 0.9828 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.2793, allocations: 12 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.2794, allocations: 19.98 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.2797, allocations: 145.5 kB / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2797, allocations: 0 / 0.983 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.2797, allocations: 4 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2798, allocations: 8 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.2799, allocations: 47.95 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.2802, allocations: 313.3 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.2804, allocations: 130.8 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.2805, allocations: 4 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.2809, allocations: 219.3 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.2809, allocations: 0 / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.000532/0.2814, allocations: 270.4 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.2815, allocations: 63.41 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.2817, allocations: 290.8 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.2818, allocations: 41.69 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.2819, allocations: 89.14 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.2819, allocations: 43.5 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.2819, allocations: 8 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.282, allocations: 330.7 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.2822, allocations: 92.17 kB / 0.9849 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2824, allocations: 150.4 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.2826, allocations: 149.6 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2826, allocations: 4 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005717/0.2832, allocations: 414.2 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.2833, allocations: 75.39 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2833, allocations: 4 kB / 0.9856 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.2833, allocations: 4 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.2835, allocations: 27.91 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2835, allocations: 4 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.284, allocations: 75.92 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/0.2841, allocations: 55.98 kB / 0.9858 GB, free: 20.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.2843, allocations: 171.9 kB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.2843, allocations: 27.62 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.2844, allocations: 34.25 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.2844, allocations: 4 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2844, allocations: 0 / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.2844, allocations: 0 / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.2851, allocations: 0.5619 MB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2851, allocations: 0 / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.2851, allocations: 8 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2852, allocations: 0 / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.2852, allocations: 15.98 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2852, allocations: 3.984 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2852, allocations: 0 / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.2856, allocations: 328.2 kB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.2857, allocations: 152.7 kB / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.2858, allocations: 8 kB / 0.9871 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.286, allocations: 11.98 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.2861, allocations: 27.95 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.2861, allocations: 27.98 kB / 0.9871 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001706/0.2863, allocations: 213.9 kB / 0.9873 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2863, allocations: 0 / 0.9873 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003081/0.2866, allocations: 44 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.2868, allocations: 119.2 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.2873, allocations: 344 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2873, allocations: 4.062 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.2875, allocations: 76.52 kB / 0.9879 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.2878, allocations: 20.83 kB / 0.9879 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.2885, allocations: 454.8 kB / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2888, allocations: 0.7438 MB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.2889, allocations: 37.42 kB / 0.9891 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2891, allocations: 39.41 kB / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2891, allocations: 0 / 0.9891 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.006455/0.2955, allocations: 3.895 MB / 0.9929 GB, free: 13.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)