Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.769/2.769, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001359/0.001359, allocations: 170.4 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.147/2.147, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009851/0.000985, allocations: 94.28 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007434/0.0007437, allocations: 10.58 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2359, allocations: 115.3 MB / 0.9783 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001759/0.2377, allocations: 1.19 MB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2388, allocations: 414.6 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.239, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.2391, allocations: 3.938 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2392, allocations: 19.91 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000863/0.2401, allocations: 210.6 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.2404, allocations: 247.5 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.2405, allocations: 4 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004331/0.2409, allocations: 215.6 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.2412, allocations: 131.7 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.2414, allocations: 12 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2415, allocations: 8 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2416, allocations: 79.77 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.2417, allocations: 73.58 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.242, allocations: 199.8 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.056e-06/0.242, allocations: 4 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.315e-06/0.242, allocations: 0 / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.242, allocations: 0 / 0.9811 GB, free: 25.62 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001967/0.244, allocations: 0.6103 MB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.2441, allocations: 16.02 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.2443, allocations: 31.72 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.2448, allocations: 258.4 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.2449, allocations: 15.98 kB / 0.982 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.2451, allocations: 12 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.2457, allocations: 145.5 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.2457, allocations: 3.938 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.2458, allocations: 4 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2458, allocations: 0 / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.2461, allocations: 45.59 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.2467, allocations: 313.4 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.2474, allocations: 146.8 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.2477, allocations: 60.77 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.921e-05/0.2477, allocations: 0 / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008404/0.2486, allocations: 215.5 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 5.33e-06/0.2486, allocations: 0 / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001186/0.2498, allocations: 273.1 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.2499, allocations: 59.41 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.2504, allocations: 294.8 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.2506, allocations: 41.69 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.885e-05/0.2507, allocations: 93.08 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.2508, allocations: 43.5 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.2509, allocations: 8 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.251, allocations: 330.8 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.2515, allocations: 88.17 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.252, allocations: 150.4 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.2525, allocations: 149.4 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.2525, allocations: 4 kB / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001551/0.2541, allocations: 417.5 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/0.2542, allocations: 71.39 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.2543, allocations: 0 / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.2543, allocations: 4 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.2547, allocations: 27.91 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.2547, allocations: 4 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.2559, allocations: 75.92 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.2562, allocations: 55.98 kB / 0.9849 GB, free: 21.32 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0003567/0.2565, allocations: 175.9 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2566, allocations: 27.62 kB / 0.9851 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.2568, allocations: 34.25 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2568, allocations: 4 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.2568, allocations: 4 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.2569, allocations: 0 / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.2584, allocations: 0.5567 MB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.2584, allocations: 3.984 kB / 0.9857 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.2585, allocations: 8 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.2586, allocations: 0 / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.2586, allocations: 11.98 kB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.2587, allocations: 4 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2587, allocations: 3.984 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008176/0.2595, allocations: 332.6 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.2599, allocations: 148.7 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.26, allocations: 8 kB / 0.9862 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.2605, allocations: 15.98 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.2606, allocations: 19.97 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/0.2607, allocations: 27.98 kB / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003656/0.2611, allocations: 209.9 kB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.01e-07/0.2611, allocations: 0 / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007523/0.2619, allocations: 48 kB / 0.9865 GB, free: 19.6 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0002392/0.2622, allocations: 126 kB / 0.9867 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.2633, allocations: 347 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.2633, allocations: 4.062 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002981/0.2636, allocations: 71.84 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.2644, allocations: 26.28 kB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.2657, allocations: 450.9 kB / 0.9875 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.266, allocations: 0.7399 MB / 0.9882 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000379/0.2664, allocations: 37.42 kB / 0.9883 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.2666, allocations: 39.41 kB / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.2667, allocations: 0 / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.01348/0.2801, allocations: 3.9 MB / 0.9921 GB, free: 13.81 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)