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 3.435/3.435, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001619/0.001619, allocations: 190.4 kB / 370.8 MB, free: 10.84 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.714/2.714, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001656/0.001656, allocations: 96.16 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005282/0.0005284, allocations: 13.44 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2461, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001914/0.2481, allocations: 1.351 MB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.2493, allocations: 444.6 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.2494, allocations: 0 / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.774e-05/0.2495, allocations: 11.92 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.2497, allocations: 27.89 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009097/0.2506, allocations: 213.8 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.2509, allocations: 179.7 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.251, allocations: 25.38 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.2514, allocations: 179.6 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.2517, allocations: 123.7 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.2518, allocations: 8 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.825e-05/0.2519, allocations: 12 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2521, allocations: 75.78 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.127e-05/0.2522, allocations: 81.56 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.2526, allocations: 319.5 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2526, allocations: 0 / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2526, allocations: 0 / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2526, allocations: 0 / 0.9812 GB, free: 25.33 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.00146/0.2541, allocations: 0.6413 MB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2542, allocations: 16.02 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.2543, allocations: 35.67 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.2547, allocations: 275 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.2548, allocations: 12 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.2549, allocations: 19.98 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.2554, allocations: 169.5 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2554, allocations: 0 / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.2555, allocations: 3.984 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.2555, allocations: 4 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.2557, allocations: 63.91 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2575, allocations: 0.5627 MB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.258, allocations: 138.6 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.2581, allocations: 4 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000639/0.2588, allocations: 228.1 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.735e-06/0.2588, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009057/0.2597, allocations: 287.2 kB / 0.9835 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.2598, allocations: 63.41 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.2602, allocations: 308.5 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.642e-05/0.2603, allocations: 41.7 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.2604, allocations: 101 kB / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/0.2605, allocations: 43.44 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.2605, allocations: 8 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.2606, allocations: 326.8 kB / 0.9844 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.261, allocations: 116 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.2614, allocations: 158.3 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.2618, allocations: 164.1 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2618, allocations: 0 / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001077/0.2629, allocations: 440 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.434e-05/0.263, allocations: 75.39 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.263, allocations: 4 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.263, allocations: 3.953 kB / 0.9853 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.2633, allocations: 36.09 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.2633, allocations: 0 / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/0.2643, allocations: 67.86 kB / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.2645, allocations: 51.98 kB / 0.9855 GB, free: 20.63 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.0002948/0.2648, allocations: 193.7 kB / 0.9856 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.2649, allocations: 23.72 kB / 0.9857 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.622e-05/0.2649, allocations: 34.36 kB / 0.9857 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.265, allocations: 0 / 0.9857 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.265, allocations: 7.953 kB / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.265, allocations: 0 / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.2661, allocations: 0.6018 MB / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.2661, allocations: 0 / 0.9863 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-05/0.2662, allocations: 8 kB / 0.9863 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.2662, allocations: 11.94 kB / 0.9863 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.2663, allocations: 11.97 kB / 0.9863 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2663, allocations: 3.938 kB / 0.9863 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2663, allocations: 3.938 kB / 0.9863 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.2669, allocations: 327 kB / 0.9866 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.2672, allocations: 180.7 kB / 0.9868 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/0.2673, allocations: 19.95 kB / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.2677, allocations: 13.11 kB / 0.9868 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.2678, allocations: 19.97 kB / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.2679, allocations: 27.98 kB / 0.9869 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000296/0.2682, allocations: 227 kB / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2682, allocations: 0 / 0.9871 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005802/0.2688, allocations: 51.94 kB / 0.9872 GB, free: 18.79 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.0002179/0.269, allocations: 132.9 kB / 0.9873 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008858/0.2699, allocations: 364.8 kB / 0.9876 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2699, allocations: 0 / 0.9876 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.2702, allocations: 71.91 kB / 0.9877 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.2706, allocations: 46.5 kB / 0.9877 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.2717, allocations: 488 kB / 0.9882 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.272, allocations: 0.7673 MB / 0.989 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002496/0.2723, allocations: 41.42 kB / 0.989 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.2725, allocations: 39.36 kB / 0.989 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.2725, allocations: 3.938 kB / 0.989 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.01122/0.2837, allocations: 4.274 MB / 0.9932 GB, free: 12.55 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)