Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.761/1.761, allocations: 287.5 MB / 302.6 MB, free: 8.125 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.001012/0.001012, allocations: 182 kB / 371.2 MB, free: 10.75 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.66/1.66, allocations: 205.4 MB / 0.6299 GB, free: 10.56 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.000751/0.0007511, allocations: 92.05 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004522, allocations: 17.59 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 115.3 MB / 0.9787 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.00214/0.2516, allocations: 1.358 MB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.2525, allocations: 455.1 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.2526, allocations: 0 / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.2528, allocations: 7.922 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.2529, allocations: 28.72 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.2536, allocations: 214.4 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.254, allocations: 315.5 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.2541, allocations: 21.45 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.2545, allocations: 231.5 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.2547, allocations: 131.7 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.2548, allocations: 12 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.2548, allocations: 8 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2549, allocations: 83.77 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.255, allocations: 77.58 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.2553, allocations: 319.5 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2553, allocations: 0 / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2553, allocations: 0 / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.2554, allocations: 4 kB / 0.9819 GB, free: 24.89 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00111/0.2565, allocations: 0.6298 MB / 0.9825 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2565, allocations: 8.031 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.833e-05/0.2566, allocations: 40.56 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.257, allocations: 288.1 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.257, allocations: 16.55 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.2571, allocations: 20.38 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.2574, allocations: 172.1 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2574, allocations: 3.938 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.2574, allocations: 4 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2574, allocations: 4 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2576, allocations: 59.91 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009635/0.2586, allocations: 0.5628 MB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.2588, allocations: 142.6 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.2589, allocations: 62.72 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.259, allocations: 4.234 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000413/0.2594, allocations: 234.2 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.2594, allocations: 0 / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005218/0.2599, allocations: 281.1 kB / 0.9843 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.26, allocations: 63.3 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.2603, allocations: 308.5 kB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.2603, allocations: 45.69 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.2604, allocations: 96.98 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.2604, allocations: 47.44 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.2605, allocations: 15.98 kB / 0.9849 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.2605, allocations: 326.8 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.2607, allocations: 104.2 kB / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.2609, allocations: 162.3 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.2612, allocations: 255.2 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2612, allocations: 0 / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005912/0.2618, allocations: 446.2 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/0.2619, allocations: 79.39 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2619, allocations: 0 / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2619, allocations: 7.938 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.2621, allocations: 23.97 kB / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2621, allocations: 7.938 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.2626, allocations: 71.95 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.2626, allocations: 51.98 kB / 0.9863 GB, free: 20 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.000155/0.2628, allocations: 193.7 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.2628, allocations: 23.72 kB / 0.9865 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.2629, allocations: 30.36 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2629, allocations: 4 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2629, allocations: 3.984 kB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2629, allocations: 7.984 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.2635, allocations: 0.5919 MB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2635, allocations: 0 / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.2636, allocations: 11.94 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2636, allocations: 0 / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.2636, allocations: 11.97 kB / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2636, allocations: 4 kB / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2636, allocations: 7.938 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.264, allocations: 325.6 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.2641, allocations: 184.5 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.2642, allocations: 19.94 kB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.2644, allocations: 11.98 kB / 0.9877 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.2645, allocations: 23.91 kB / 0.9877 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.2645, allocations: 23.98 kB / 0.9877 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001541/0.2647, allocations: 235 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2647, allocations: 0 / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002724/0.265, allocations: 55.94 kB / 0.988 GB, free: 18.16 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0001481/0.2651, allocations: 121 kB / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.2656, allocations: 366.5 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2656, allocations: 384 / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.2658, allocations: 71.97 kB / 0.9886 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.2661, allocations: 40.5 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.2668, allocations: 493.6 kB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.2669, allocations: 0.7556 MB / 0.9898 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000135/0.2671, allocations: 41.42 kB / 0.9898 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2672, allocations: 39.41 kB / 0.9899 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2672, allocations: 4 kB / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.006703/0.2739, allocations: 4.295 MB / 0.9941 GB, free: 11.93 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)