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 2.708/2.708, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.001513/0.001513, allocations: 182.2 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.409/2.409, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001362/0.001362, allocations: 101.8 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006644/0.0006646, allocations: 12.81 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2485, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002255/0.2508, allocations: 1.358 MB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2524, allocations: 456 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.2526, allocations: 0 / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2527, allocations: 15.86 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.2528, allocations: 19.92 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009646/0.2538, allocations: 221.8 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000434/0.2543, allocations: 307.5 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2544, allocations: 25.42 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004819/0.2549, allocations: 235.5 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.2552, allocations: 139.7 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.2554, allocations: 12 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2555, allocations: 8 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.2556, allocations: 79.78 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2558, allocations: 77.52 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.2562, allocations: 315.5 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2562, allocations: 0 / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2562, allocations: 0 / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2562, allocations: 0 / 0.9815 GB, free: 25.07 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.001545/0.2578, allocations: 0.6452 MB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.2579, allocations: 16.02 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.258, allocations: 39.58 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.2584, allocations: 263.2 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.112e-05/0.2585, allocations: 16 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2586, allocations: 27.92 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.2591, allocations: 169.5 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2591, allocations: 0 / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.2592, allocations: 7.984 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.2592, allocations: 4 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.2594, allocations: 55.97 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.2612, allocations: 0.5588 MB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.2617, allocations: 134.7 kB / 0.9834 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.2619, allocations: 64.83 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.2619, allocations: 0 / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006646/0.2626, allocations: 230.1 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.485e-06/0.2626, allocations: 3.938 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009142/0.2636, allocations: 293.2 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.2636, allocations: 59.41 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/0.2641, allocations: 312.5 kB / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.2642, allocations: 45.64 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.2643, allocations: 97.03 kB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.788e-05/0.2644, allocations: 47.44 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.2644, allocations: 8 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.2645, allocations: 322.8 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.2649, allocations: 104.2 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.2653, allocations: 162.4 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.2656, allocations: 164.1 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2657, allocations: 3.938 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001077/0.2668, allocations: 441.4 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.344e-05/0.2669, allocations: 75.39 kB / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2669, allocations: 0 / 0.9857 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.2669, allocations: 7.953 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.2672, allocations: 27.91 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2672, allocations: 4 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009319/0.2682, allocations: 71.98 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.2683, allocations: 55.98 kB / 0.9859 GB, free: 20.3 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.0003166/0.2686, allocations: 197.7 kB / 0.9861 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.2687, allocations: 27.62 kB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.81e-05/0.2688, allocations: 30.36 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2688, allocations: 4 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2688, allocations: 3.953 kB / 0.9862 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2688, allocations: 0 / 0.9862 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.2699, allocations: 0.5881 MB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2699, allocations: 3.984 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.27, allocations: 8 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.2701, allocations: 3.953 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.2701, allocations: 19.98 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2701, allocations: 0 / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2701, allocations: 0 / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.2707, allocations: 337.2 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.271, allocations: 176.7 kB / 0.9873 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.51e-05/0.2711, allocations: 19.94 kB / 0.9873 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.2715, allocations: 15.98 kB / 0.9873 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.2716, allocations: 15.98 kB / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/0.2717, allocations: 31.97 kB / 0.9873 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003186/0.272, allocations: 227 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.593e-06/0.272, allocations: 3.938 kB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005288/0.2726, allocations: 55.88 kB / 0.9876 GB, free: 18.46 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.0002314/0.2728, allocations: 125 kB / 0.9877 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008845/0.2737, allocations: 370.9 kB / 0.9881 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2737, allocations: 4 kB / 0.9881 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.274, allocations: 79.89 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.2745, allocations: 31.62 kB / 0.9882 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2756, allocations: 495.6 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2759, allocations: 0.7517 MB / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002562/0.2762, allocations: 41.42 kB / 0.9894 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.2764, allocations: 35.42 kB / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/0.2764, allocations: 0 / 0.9895 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.01152/0.288, allocations: 4.287 MB / 0.9937 GB, free: 12.23 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)