Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.471/1.471, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 181.2 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008298/0.0008297, allocations: 88.08 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003095, allocations: 11.47 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2202, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001858/0.2221, allocations: 1.403 MB / 0.8982 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000886/0.223, allocations: 0.5001 MB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.223, allocations: 4 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.2232, allocations: 3.938 kB / 0.8987 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.2233, allocations: 28.22 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.2238, allocations: 258.2 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.2241, allocations: 347.8 kB / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2242, allocations: 41.27 kB / 0.8993 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.2244, allocations: 218.3 kB / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.2246, allocations: 131.5 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.926e-05/0.2247, allocations: 8 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.2247, allocations: 12 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.2248, allocations: 75.72 kB / 0.8997 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.2249, allocations: 131.3 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.2252, allocations: 402.6 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2252, allocations: 4 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2252, allocations: 0 / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2252, allocations: 0 / 0.9002 GB, free: 64.61 MB / 0.6042 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.0008965/0.2262, allocations: 0.6335 MB / 0.9009 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2262, allocations: 8.031 kB / 0.9009 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.2263, allocations: 35.62 kB / 0.9009 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.2266, allocations: 286.9 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.2266, allocations: 12 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.2267, allocations: 23.98 kB / 0.9012 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.2269, allocations: 171.5 kB / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.227, allocations: 7.984 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.227, allocations: 4 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.227, allocations: 0 / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.2271, allocations: 59.97 kB / 0.9014 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.228, allocations: 0.5627 MB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.2283, allocations: 136.9 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.2284, allocations: 68.83 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.2284, allocations: 4 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003801/0.2288, allocations: 224.1 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.2288, allocations: 0 / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0004931/0.2293, allocations: 296 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.2294, allocations: 55.41 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.2296, allocations: 320.4 kB / 0.903 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.2297, allocations: 41.7 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.2297, allocations: 97.03 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.2298, allocations: 39.59 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.2298, allocations: 37.7 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.2299, allocations: 330.8 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2301, allocations: 108.2 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.2303, allocations: 162.4 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.2305, allocations: 266.1 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2306, allocations: 0 / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005842/0.2311, allocations: 436.7 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.2312, allocations: 79.42 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2312, allocations: 4 kB / 0.9046 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2312, allocations: 4 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2314, allocations: 35.89 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2314, allocations: 0 / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.2319, allocations: 75.8 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.232, allocations: 51.98 kB / 0.9047 GB, free: 59.67 MB / 0.6042 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,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,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.2321, allocations: 189.7 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.2322, allocations: 27.62 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.2322, allocations: 34.36 kB / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2322, allocations: 3.938 kB / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2322, allocations: 4 kB / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.2324, allocations: 180.7 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.2324, allocations: 12 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2326, allocations: 19.92 kB / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.2327, allocations: 19.92 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003673/0.2331, allocations: 300.8 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003344/0.2334, allocations: 396.6 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000108/0.2335, allocations: 63.97 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001495/0.2337, allocations: 242.9 kB / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of Backend: time 5.21e-07/0.2337, allocations: 0 / 0.9062 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006604/0.2344, allocations: 398.3 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007921/0.2352, allocations: 0.9428 MB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.006448/0.2416, allocations: 4.625 MB / 0.912 GB, free: 52.19 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)