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.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009045/0.009045, allocations: 99.34 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001805, allocations: 195 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.589/1.589, allocations: 251.7 MB / 0.5094 GB, free: 2.992 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 70.09 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2318, allocations: 104.7 MB / 0.8281 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002762/0.2346, allocations: 1.697 MB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.2356, allocations: 475.2 kB / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.2357, allocations: 0 / 0.8302 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2358, allocations: 15.86 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.236, allocations: 32.16 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.2367, allocations: 270 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.2371, allocations: 395.5 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2372, allocations: 33.36 kB / 0.8309 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.2375, allocations: 223.6 kB / 0.8311 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.2378, allocations: 132 kB / 0.8313 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-05/0.2379, allocations: 28 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.238, allocations: 28 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2381, allocations: 83.77 kB / 0.8314 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.2382, allocations: 147.2 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.2387, allocations: 414.6 kB / 0.8319 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2387, allocations: 0 / 0.8319 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2387, allocations: 0 / 0.8319 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2387, allocations: 0 / 0.8319 GB, free: 12.2 MB / 0.6544 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.001273/0.24, allocations: 0.7464 MB / 0.8327 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.24, allocations: 12.02 kB / 0.8327 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.2401, allocations: 36.75 kB / 0.8327 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.2405, allocations: 276.5 kB / 0.833 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.2405, allocations: 16.31 kB / 0.833 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.2406, allocations: 27.92 kB / 0.833 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.2409, allocations: 165.5 kB / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2409, allocations: 0 / 0.8332 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.2409, allocations: 7.938 kB / 0.8332 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.241, allocations: 4 kB / 0.8332 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.2411, allocations: 63.95 kB / 0.8332 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2422, allocations: 0.5472 MB / 0.8338 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.2425, allocations: 134.7 kB / 0.8339 GB, free: 10 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.2426, allocations: 60.84 kB / 0.834 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2427, allocations: 7.984 kB / 0.834 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004666/0.2431, allocations: 231.8 kB / 0.8342 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.2432, allocations: 0 / 0.8342 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.0006061/0.2438, allocations: 291.9 kB / 0.8345 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.2438, allocations: 63.34 kB / 0.8345 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.2441, allocations: 316.5 kB / 0.8348 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.2442, allocations: 45.62 kB / 0.8349 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.2443, allocations: 97.09 kB / 0.835 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.2443, allocations: 47.67 kB / 0.835 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.2445, allocations: 117.8 kB / 0.8351 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2447, allocations: 322.8 kB / 0.8354 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.2449, allocations: 108.2 kB / 0.8355 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.2452, allocations: 150.4 kB / 0.8357 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.2456, allocations: 259.7 kB / 0.8359 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2456, allocations: 0 / 0.8359 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007105/0.2463, allocations: 440.7 kB / 0.8363 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/0.2464, allocations: 79.38 kB / 0.8364 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2464, allocations: 0 / 0.8364 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2464, allocations: 4 kB / 0.8364 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.2466, allocations: 23.92 kB / 0.8365 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2466, allocations: 4 kB / 0.8365 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.2471, allocations: 71.97 kB / 0.8365 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.2472, allocations: 59.97 kB / 0.8366 GB, free: 7.105 MB / 0.6544 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.0001844/0.2474, allocations: 177.8 kB / 0.8368 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.2475, allocations: 27.81 kB / 0.8368 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.713e-05/0.2475, allocations: 38.3 kB / 0.8368 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2475, allocations: 0 / 0.8368 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2476, allocations: 4 kB / 0.8368 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2476, allocations: 7.922 kB / 0.8368 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.2484, allocations: 0.5997 MB / 0.8374 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2484, allocations: 0 / 0.8374 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.2484, allocations: 11.98 kB / 0.8374 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.2485, allocations: 0 / 0.8374 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.2485, allocations: 19.92 kB / 0.8374 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2485, allocations: 0 / 0.8374 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2485, allocations: 0 / 0.8374 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.249, allocations: 334.2 kB / 0.8378 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.2493, allocations: 192.8 kB / 0.8379 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.2493, allocations: 15.94 kB / 0.838 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.2496, allocations: 11.98 kB / 0.838 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.2496, allocations: 15.98 kB / 0.838 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.2497, allocations: 31.97 kB / 0.838 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000218/0.2499, allocations: 227 kB / 0.8382 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2499, allocations: 0 / 0.8382 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003285/0.2502, allocations: 48 kB / 0.8383 GB, free: 5.273 MB / 0.6544 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.2504, allocations: 129.5 kB / 0.8384 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006443/0.2511, allocations: 362.6 kB / 0.8387 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2511, allocations: 0 / 0.8387 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.2513, allocations: 79.84 kB / 0.8388 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.2517, allocations: 42.98 kB / 0.8389 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.2525, allocations: 436.1 kB / 0.8393 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.2529, allocations: 0.7551 MB / 0.84 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.253, allocations: 41.42 kB / 0.8401 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2531, allocations: 43.41 kB / 0.8401 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2531, allocations: 0 / 0.8401 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of Templates: time 0.008436/0.2616, allocations: 4.495 MB / 0.8445 GB, free: 14.89 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)