Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.4 MB / 304.3 MB, free: 8.148 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.001054/0.001054, allocations: 172.5 kB / 372.9 MB, free: 10.16 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.472/1.472, allocations: 205.4 MB / 0.6316 GB, free: 9.906 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.0008127/0.000813, allocations: 99.5 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005597/0.0005598, allocations: 12.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2326, allocations: 115.3 MB / 0.9808 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001735/0.2344, allocations: 1.354 MB / 0.9821 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.2352, allocations: 463.9 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.2353, allocations: 4 kB / 0.9825 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.8e-05/0.2354, allocations: 3.938 kB / 0.9825 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2355, allocations: 27.84 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.2361, allocations: 215.4 kB / 0.9828 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.2364, allocations: 307.5 kB / 0.9831 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2365, allocations: 29.44 kB / 0.9831 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.2368, allocations: 239.5 kB / 0.9833 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.2369, allocations: 135.7 kB / 0.9834 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.899e-05/0.237, allocations: 12 kB / 0.9835 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.408e-05/0.2371, allocations: 8 kB / 0.9835 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.937e-05/0.2371, allocations: 79.78 kB / 0.9835 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2373, allocations: 161.1 kB / 0.9837 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.2375, allocations: 319.5 kB / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2375, allocations: 7.938 kB / 0.984 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2375, allocations: 0 / 0.984 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2375, allocations: 0 / 0.984 GB, free: 23.99 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.0009171/0.2384, allocations: 0.6376 MB / 0.9846 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2385, allocations: 8.031 kB / 0.9846 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.2386, allocations: 36.56 kB / 0.9847 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.2388, allocations: 284.1 kB / 0.9849 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.2389, allocations: 12.56 kB / 0.985 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.239, allocations: 20.36 kB / 0.985 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.2392, allocations: 174 kB / 0.9851 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2392, allocations: 7.922 kB / 0.9851 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.2393, allocations: 3.984 kB / 0.9851 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2393, allocations: 4 kB / 0.9852 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2394, allocations: 59.97 kB / 0.9852 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009572/0.2404, allocations: 0.555 MB / 0.9858 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.2407, allocations: 138.6 kB / 0.9859 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2408, allocations: 64.83 kB / 0.9859 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.2408, allocations: 4 kB / 0.9859 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003887/0.2412, allocations: 225.7 kB / 0.9862 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.2412, allocations: 0 / 0.9862 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004957/0.2417, allocations: 282.7 kB / 0.9864 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2418, allocations: 71.3 kB / 0.9865 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.242, allocations: 316.5 kB / 0.9868 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.2421, allocations: 37.7 kB / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.2421, allocations: 101 kB / 0.9869 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.2422, allocations: 47.45 kB / 0.987 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.2422, allocations: 4 kB / 0.987 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.2423, allocations: 330.8 kB / 0.9873 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.2425, allocations: 108.2 kB / 0.9874 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.2427, allocations: 162.4 kB / 0.9876 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.243, allocations: 255.7 kB / 0.9878 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.243, allocations: 0 / 0.9878 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005739/0.2435, allocations: 443.5 kB / 0.9882 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.2436, allocations: 79.38 kB / 0.9883 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2436, allocations: 0 / 0.9883 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2436, allocations: 4.188 kB / 0.9883 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.2438, allocations: 31.92 kB / 0.9883 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.2438, allocations: 4 kB / 0.9883 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.2443, allocations: 71.78 kB / 0.9884 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.2444, allocations: 55.98 kB / 0.9885 GB, free: 19.1 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.0001773/0.2445, allocations: 193.6 kB / 0.9886 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.2446, allocations: 23.72 kB / 0.9887 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.2446, allocations: 38.34 kB / 0.9887 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2446, allocations: 0 / 0.9887 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2447, allocations: 0 / 0.9887 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.2448, allocations: 180.6 kB / 0.9889 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.2449, allocations: 15.98 kB / 0.9889 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.2451, allocations: 19.98 kB / 0.9889 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.2451, allocations: 15.92 kB / 0.9889 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003817/0.2455, allocations: 301.9 kB / 0.9892 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003465/0.2459, allocations: 395.3 kB / 0.9896 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.246, allocations: 63.97 kB / 0.9897 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000158/0.2461, allocations: 231 kB / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of Backend: time 1.573e-06/0.2462, allocations: 0 / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000657/0.2468, allocations: 396.8 kB / 0.9903 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009082/0.2477, allocations: 0.9439 MB / 0.9912 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.007012/0.2548, allocations: 4.559 MB / 0.9956 GB, free: 11.7 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)