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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.658/1.658, allocations: 288.4 MB / 304.3 MB, free: 8.059 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.001087/0.001087, allocations: 180.4 kB / 372.9 MB, free: 10.15 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.548/1.548, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0008631/0.0008631, allocations: 86.33 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.000475, allocations: 12.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 115.3 MB / 0.9808 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.00161/0.2287, allocations: 1.355 MB / 0.9821 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000777/0.2295, allocations: 455.1 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.676e-05/0.2296, allocations: 0 / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.278e-05/0.2297, allocations: 11.92 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2298, allocations: 23.86 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.2303, allocations: 214 kB / 0.9828 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.2307, allocations: 303.5 kB / 0.983 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2308, allocations: 29.42 kB / 0.9831 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.2311, allocations: 239.5 kB / 0.9833 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.2312, allocations: 135.7 kB / 0.9834 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.2313, allocations: 8 kB / 0.9834 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.613e-05/0.2313, allocations: 8 kB / 0.9835 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.2314, allocations: 83.77 kB / 0.9835 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2316, allocations: 165.1 kB / 0.9837 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.2318, allocations: 315.5 kB / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2318, allocations: 0 / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2318, allocations: 0 / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2318, allocations: 0 / 0.984 GB, free: 24 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.0009459/0.2328, allocations: 0.6414 MB / 0.9846 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2328, allocations: 8.031 kB / 0.9846 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.2329, allocations: 40.5 kB / 0.9847 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.2332, allocations: 284.1 kB / 0.9849 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.2333, allocations: 16.55 kB / 0.9849 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.2333, allocations: 20.38 kB / 0.985 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.2336, allocations: 172.1 kB / 0.9851 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.2336, allocations: 7.938 kB / 0.9851 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.2337, allocations: 8 kB / 0.9851 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2337, allocations: 0 / 0.9851 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.2338, allocations: 59.91 kB / 0.9852 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.2348, allocations: 0.555 MB / 0.9857 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.2351, allocations: 143.2 kB / 0.9859 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2352, allocations: 60.83 kB / 0.9859 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.2353, allocations: 4 kB / 0.9859 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/0.2357, allocations: 229.8 kB / 0.9862 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.525e-06/0.2357, allocations: 0 / 0.9862 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005489/0.2362, allocations: 285.1 kB / 0.9864 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2363, allocations: 63.31 kB / 0.9865 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.2365, allocations: 312.5 kB / 0.9868 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2366, allocations: 41.7 kB / 0.9868 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.2367, allocations: 101 kB / 0.9869 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.2367, allocations: 43.44 kB / 0.987 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.2367, allocations: 8 kB / 0.987 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.2368, allocations: 326.8 kB / 0.9873 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.237, allocations: 108.2 kB / 0.9874 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.2372, allocations: 166.3 kB / 0.9876 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.2375, allocations: 262.9 kB / 0.9878 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2375, allocations: 0 / 0.9878 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005882/0.2381, allocations: 443.5 kB / 0.9882 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.2382, allocations: 76.33 kB / 0.9883 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2382, allocations: 0 / 0.9883 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2382, allocations: 4 kB / 0.9883 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.2384, allocations: 23.97 kB / 0.9883 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2384, allocations: 7.938 kB / 0.9883 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.2389, allocations: 71.98 kB / 0.9884 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/0.2389, allocations: 55.98 kB / 0.9885 GB, free: 19.11 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.0001515/0.2391, allocations: 194.6 kB / 0.9886 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.2391, allocations: 35.66 kB / 0.9887 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.2392, allocations: 26.36 kB / 0.9887 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2392, allocations: 0 / 0.9887 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2392, allocations: 0 / 0.9887 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.2394, allocations: 192.5 kB / 0.9889 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.2394, allocations: 12 kB / 0.9889 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.2396, allocations: 11.98 kB / 0.9889 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.2397, allocations: 27.91 kB / 0.9889 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003866/0.2401, allocations: 294 kB / 0.9892 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003792/0.2405, allocations: 396 kB / 0.9896 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001145/0.2406, allocations: 67.95 kB / 0.9897 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001568/0.2408, allocations: 227 kB / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of Backend: time 8.51e-07/0.2408, allocations: 0 / 0.9899 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006695/0.2414, allocations: 403.7 kB / 0.9903 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007667/0.2422, allocations: 0.9348 MB / 0.9912 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.0069/0.2491, allocations: 4.562 MB / 0.9956 GB, free: 11.69 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)