Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 195.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.67 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2471, allocations: 114.6 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002918/0.2501, allocations: 1.735 MB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2511, allocations: 0.4992 MB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.2512, allocations: 0 / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.2514, allocations: 7.938 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.2515, allocations: 28.22 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.2522, allocations: 270.8 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.2525, allocations: 359.8 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2527, allocations: 25.11 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.253, allocations: 238.2 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.2532, allocations: 139.5 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.2533, allocations: 8 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.873e-05/0.2534, allocations: 12 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.2536, allocations: 83.7 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.2537, allocations: 135.3 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.2542, allocations: 426.9 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2542, allocations: 0 / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2542, allocations: 0 / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2542, allocations: 0 / 0.7865 GB, free: 10.02 MB / 0.6075 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.001273/0.2555, allocations: 0.7809 MB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2555, allocations: 12.03 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.2556, allocations: 31.72 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.256, allocations: 286.8 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/0.2561, allocations: 16 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.2561, allocations: 23.98 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2572, allocations: 225.3 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2572, allocations: 0 / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.2573, allocations: 7.984 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2573, allocations: 4 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008181/0.2581, allocations: 111.9 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.2594, allocations: 0.5667 MB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2605, allocations: 178.4 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.2612, allocations: 116.8 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2613, allocations: 0 / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.2623, allocations: 227 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.2623, allocations: 0 / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002552/0.2649, allocations: 457.1 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.265, allocations: 63.34 kB / 0.7895 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.2653, allocations: 320.4 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.2653, allocations: 37.7 kB / 0.7899 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.2654, allocations: 97.03 kB / 0.79 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.2655, allocations: 39.59 kB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.2657, allocations: 105.5 kB / 0.7901 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2658, allocations: 334.7 kB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.266, allocations: 91.94 kB / 0.7905 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2662, allocations: 142.6 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.2666, allocations: 255.8 kB / 0.7909 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2666, allocations: 0 / 0.7909 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006807/0.2673, allocations: 424.8 kB / 0.7913 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.2674, allocations: 79.38 kB / 0.7914 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2674, allocations: 4 kB / 0.7914 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2674, allocations: 0 / 0.7914 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.2676, allocations: 27.92 kB / 0.7914 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2676, allocations: 4 kB / 0.7914 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.2681, allocations: 55.8 kB / 0.7915 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/0.2682, allocations: 44.08 kB / 0.7915 GB, free: 4.586 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.2684, allocations: 180.4 kB / 0.7917 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.2684, allocations: 27.7 kB / 0.7917 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.2685, allocations: 34.34 kB / 0.7917 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2685, allocations: 0 / 0.7917 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.2685, allocations: 11.94 kB / 0.7918 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2686, allocations: 3.938 kB / 0.7918 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.2707, allocations: 0.7352 MB / 0.7925 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2707, allocations: 3.938 kB / 0.7925 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.2707, allocations: 4 kB / 0.7925 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2707, allocations: 4 kB / 0.7925 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.2708, allocations: 27.91 kB / 0.7925 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2708, allocations: 0 / 0.7925 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2708, allocations: 0 / 0.7925 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.2725, allocations: 454.9 kB / 0.7929 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.2727, allocations: 188.6 kB / 0.7931 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.2728, allocations: 23.94 kB / 0.7931 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.2732, allocations: 27.97 kB / 0.7932 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.2733, allocations: 7.984 kB / 0.7932 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.2733, allocations: 43.97 kB / 0.7932 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000203/0.2735, allocations: 227 kB / 0.7934 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2736, allocations: 4 kB / 0.7934 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003354/0.2739, allocations: 55.91 kB / 0.7935 GB, free: 2.449 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001861/0.2741, allocations: 127.7 kB / 0.7936 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.2753, allocations: 394.8 kB / 0.794 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2753, allocations: 4.062 kB / 0.794 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000772/0.2761, allocations: 119.8 kB / 0.7941 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.2765, allocations: 39.02 kB / 0.7941 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.278, allocations: 0.5489 MB / 0.7947 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.2783, allocations: 0.7532 MB / 0.7954 GB, free: 404 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.787e-05/0.2784, allocations: 17.42 kB / 0.7954 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.2784, allocations: 19.42 kB / 0.7955 GB, free: 364 kB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.2784, allocations: 0 / 0.7955 GB, free: 364 kB / 0.6075 GB Notification: Performance of Templates: time 0.007204/0.2857, allocations: 3.988 MB / 0.7994 GB, free: 12.4 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)