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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.807/1.807, allocations: 288.4 MB / 304.3 MB, free: 8.195 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.001115/0.001115, allocations: 180.5 kB / 372.9 MB, free: 10.13 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.604/1.604, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0008778/0.0008781, allocations: 90.86 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004236, allocations: 18.61 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2396, allocations: 115.3 MB / 0.9808 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.001674/0.2414, allocations: 1.355 MB / 0.9821 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2425, allocations: 456.6 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.2426, allocations: 0 / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.2428, allocations: 7.938 kB / 0.9825 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.2429, allocations: 23.84 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.2438, allocations: 213.4 kB / 0.9828 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.2441, allocations: 307.5 kB / 0.9831 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.2443, allocations: 29.42 kB / 0.9831 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003254/0.2446, allocations: 239.5 kB / 0.9833 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.2448, allocations: 131.7 kB / 0.9834 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.2449, allocations: 8 kB / 0.9834 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.245, allocations: 12 kB / 0.9835 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2451, allocations: 83.77 kB / 0.9835 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.2453, allocations: 165 kB / 0.9837 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.2456, allocations: 315.5 kB / 0.984 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2456, allocations: 0 / 0.984 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2456, allocations: 0 / 0.984 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2456, allocations: 4 kB / 0.984 GB, free: 23.98 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.001207/0.2468, allocations: 0.6414 MB / 0.9846 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.2469, allocations: 8.031 kB / 0.9846 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.247, allocations: 36.56 kB / 0.9847 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.2473, allocations: 280.1 kB / 0.9849 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.2474, allocations: 20.55 kB / 0.985 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.2475, allocations: 20.38 kB / 0.985 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.2478, allocations: 176.8 kB / 0.9851 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2479, allocations: 3.938 kB / 0.9851 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.2479, allocations: 0 / 0.9851 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2479, allocations: 4 kB / 0.9852 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.2481, allocations: 63.91 kB / 0.9852 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.2492, allocations: 0.555 MB / 0.9858 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.2495, allocations: 138.7 kB / 0.9859 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.2496, allocations: 60.83 kB / 0.9859 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.2496, allocations: 4 kB / 0.9859 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004755/0.2501, allocations: 228.1 kB / 0.9862 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.216e-06/0.2501, allocations: 3.938 kB / 0.9862 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005232/0.2507, allocations: 283 kB / 0.9864 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.2507, allocations: 67.31 kB / 0.9865 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.251, allocations: 312.5 kB / 0.9868 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.251, allocations: 41.7 kB / 0.9868 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.2511, allocations: 97.03 kB / 0.9869 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.2511, allocations: 47.44 kB / 0.987 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.2511, allocations: 8 kB / 0.987 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.2512, allocations: 326.8 kB / 0.9873 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.2514, allocations: 104.2 kB / 0.9874 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.2516, allocations: 170.3 kB / 0.9876 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.2519, allocations: 256.2 kB / 0.9878 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2519, allocations: 0 / 0.9878 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005788/0.2525, allocations: 440.6 kB / 0.9882 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.2526, allocations: 75.39 kB / 0.9883 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.2526, allocations: 4 kB / 0.9883 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.2526, allocations: 7.938 kB / 0.9883 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2528, allocations: 24.16 kB / 0.9883 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2528, allocations: 11.94 kB / 0.9883 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.2533, allocations: 79.72 kB / 0.9884 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.2534, allocations: 51.98 kB / 0.9885 GB, free: 19.08 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.0001575/0.2535, allocations: 189.7 kB / 0.9886 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.2536, allocations: 23.72 kB / 0.9887 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.2536, allocations: 34.36 kB / 0.9887 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2536, allocations: 0 / 0.9887 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2536, allocations: 3.938 kB / 0.9887 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.2538, allocations: 184.6 kB / 0.9889 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.2539, allocations: 16 kB / 0.9889 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.2541, allocations: 11.98 kB / 0.9889 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.2541, allocations: 27.91 kB / 0.9889 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003791/0.2545, allocations: 286.3 kB / 0.9892 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003416/0.2549, allocations: 403.4 kB / 0.9896 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001132/0.255, allocations: 71.95 kB / 0.9897 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001542/0.2552, allocations: 223 kB / 0.9899 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of Backend: time 1.212e-06/0.2552, allocations: 0 / 0.9899 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006887/0.2559, allocations: 401.4 kB / 0.9903 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0008067/0.2567, allocations: 0.9285 MB / 0.9912 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.006875/0.2636, allocations: 4.57 MB / 0.9956 GB, free: 11.67 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)