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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.776/1.776, allocations: 287.5 MB / 302.6 MB, free: 8.238 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.001125/0.001125, allocations: 191.6 kB / 371.2 MB, free: 10.82 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.658/1.658, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008416/0.0008418, allocations: 93.98 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004123, allocations: 12.89 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001838/0.2568, allocations: 1.362 MB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.2578, allocations: 459.1 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.258, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2581, allocations: 7.922 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.2583, allocations: 24.72 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009372/0.2593, allocations: 214.3 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.2596, allocations: 307.5 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.2598, allocations: 33.42 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.2602, allocations: 231.5 kB / 0.9813 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.2605, allocations: 135.7 kB / 0.9814 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.515e-05/0.2606, allocations: 8 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.394e-05/0.2606, allocations: 12 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.2608, allocations: 79.78 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.2609, allocations: 73.58 kB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.2612, allocations: 319.5 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2612, allocations: 4 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2613, allocations: 4 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.2613, allocations: 0 / 0.9819 GB, free: 24.9 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.001172/0.2625, allocations: 0.6298 MB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2625, allocations: 12.03 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2626, allocations: 40.55 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.263, allocations: 284.1 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.263, allocations: 20.56 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.2631, allocations: 20.31 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.2634, allocations: 176.1 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2634, allocations: 3.938 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.2635, allocations: 0 / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2635, allocations: 4 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.2636, allocations: 67.89 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.2647, allocations: 0.5473 MB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.265, allocations: 134.6 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2651, allocations: 68.83 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.2651, allocations: 4.234 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.2656, allocations: 234.5 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.334e-06/0.2656, allocations: 4 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005447/0.2662, allocations: 277.2 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.2662, allocations: 67.3 kB / 0.9844 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.2665, allocations: 312.5 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.2665, allocations: 37.7 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.2666, allocations: 101 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.2667, allocations: 47.45 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.2667, allocations: 4 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.2668, allocations: 334.8 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.267, allocations: 104.2 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.2672, allocations: 166.3 kB / 0.9854 GB, free: 21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.2675, allocations: 245.3 kB / 0.9857 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.2676, allocations: 0 / 0.9857 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006319/0.2682, allocations: 447.9 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.2683, allocations: 83.56 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.2683, allocations: 4 kB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.2683, allocations: 7.938 kB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.2685, allocations: 23.98 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2685, allocations: 7.938 kB / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.269, allocations: 71.8 kB / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.167e-05/0.2691, allocations: 55.97 kB / 0.9863 GB, free: 20.01 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.0001972/0.2693, allocations: 185.7 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.2693, allocations: 23.72 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.2694, allocations: 34.36 kB / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2694, allocations: 0 / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2694, allocations: 0 / 0.9866 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2694, allocations: 7.984 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006644/0.2701, allocations: 0.5943 MB / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2701, allocations: 0 / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.2702, allocations: 23.86 kB / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2702, allocations: 0 / 0.9872 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.2702, allocations: 11.98 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2702, allocations: 4 kB / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2702, allocations: 3.938 kB / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.2706, allocations: 323.1 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.2708, allocations: 192.5 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.2708, allocations: 15.94 kB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.271, allocations: 11.98 kB / 0.9877 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.2711, allocations: 23.91 kB / 0.9877 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.2712, allocations: 27.98 kB / 0.9878 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001746/0.2713, allocations: 227 kB / 0.988 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2713, allocations: 4 kB / 0.988 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003009/0.2717, allocations: 59.98 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.0001727/0.2718, allocations: 118.7 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.2724, allocations: 363.9 kB / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.2724, allocations: 0 / 0.9885 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2725, allocations: 75.95 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.0003674/0.2729, allocations: 36.95 kB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007845/0.2737, allocations: 491.6 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.2739, allocations: 0.7517 MB / 0.9898 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.2741, allocations: 41.42 kB / 0.9898 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2742, allocations: 31.42 kB / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2742, allocations: 0 / 0.9899 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.007675/0.2819, allocations: 4.301 MB / 0.9941 GB, free: 11.92 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)