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.0008883/0.0008886, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006266/0.006266, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.717/1.717, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.554/1.554, allocations: 252 MB / 0.5105 GB, free: 4.664 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.0005638/0.0005639, allocations: 16 kB / 0.6249 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6311, allocations: 106.3 MB / 0.7288 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002048/0.6332, allocations: 1.395 MB / 0.7301 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.6343, allocations: 0.4954 MB / 0.7306 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.6344, allocations: 4 kB / 0.7306 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.318e-05/0.6345, allocations: 7.922 kB / 0.7306 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.6346, allocations: 28.16 kB / 0.7306 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006366/0.6353, allocations: 254.3 kB / 0.7309 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003614/0.6356, allocations: 347.8 kB / 0.7312 GB, free: 8.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.6357, allocations: 33.31 kB / 0.7312 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003116/0.6361, allocations: 226.3 kB / 0.7315 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.6363, allocations: 123.5 kB / 0.7316 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.6363, allocations: 8 kB / 0.7316 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.6364, allocations: 12 kB / 0.7316 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.6365, allocations: 83.64 kB / 0.7317 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.6367, allocations: 160.9 kB / 0.7318 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.6371, allocations: 400.6 kB / 0.7322 GB, free: 7.676 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6371, allocations: 0 / 0.7322 GB, free: 7.676 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6371, allocations: 0 / 0.7322 GB, free: 7.676 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6371, allocations: 0 / 0.7322 GB, free: 7.676 MB / 0.545 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.00112/0.6382, allocations: 0.6297 MB / 0.7328 GB, free: 6.973 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.6383, allocations: 8.031 kB / 0.7328 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.6384, allocations: 35.62 kB / 0.7329 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.6387, allocations: 286.8 kB / 0.7331 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.6388, allocations: 12 kB / 0.7332 GB, free: 6.598 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.6389, allocations: 20 kB / 0.7332 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.6392, allocations: 181.4 kB / 0.7333 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6392, allocations: 0 / 0.7333 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.6393, allocations: 4 kB / 0.7333 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.6393, allocations: 4 kB / 0.7334 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.6394, allocations: 55.97 kB / 0.7334 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.6406, allocations: 0.5665 MB / 0.734 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.6409, allocations: 138.6 kB / 0.7341 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.641, allocations: 60.84 kB / 0.7341 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.6411, allocations: 7.984 kB / 0.7342 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004815/0.6416, allocations: 224.2 kB / 0.7344 GB, free: 5.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.6416, allocations: 0 / 0.7344 GB, free: 5.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006092/0.6422, allocations: 290.9 kB / 0.7346 GB, free: 4.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.6422, allocations: 63.39 kB / 0.7347 GB, free: 4.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.6426, allocations: 312.5 kB / 0.735 GB, free: 4.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.6426, allocations: 45.69 kB / 0.7351 GB, free: 4.539 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/0.6427, allocations: 97.05 kB / 0.7351 GB, free: 4.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.6428, allocations: 39.53 kB / 0.7352 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-05/0.6429, allocations: 41.7 kB / 0.7352 GB, free: 4.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.643, allocations: 322.8 kB / 0.7355 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.6433, allocations: 112.1 kB / 0.7356 GB, free: 3.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.6435, allocations: 163.8 kB / 0.7358 GB, free: 3.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.6439, allocations: 255.9 kB / 0.736 GB, free: 3.457 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6439, allocations: 0 / 0.736 GB, free: 3.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007225/0.6446, allocations: 440.5 kB / 0.7365 GB, free: 3.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.6447, allocations: 87.38 kB / 0.7365 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6447, allocations: 0 / 0.7365 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.6447, allocations: 4 kB / 0.7365 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.6449, allocations: 28.11 kB / 0.7366 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.6449, allocations: 4 kB / 0.7366 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.6454, allocations: 75.78 kB / 0.7366 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.6455, allocations: 51.98 kB / 0.7367 GB, free: 2.75 MB / 0.545 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.0002107/0.6457, allocations: 193.7 kB / 0.7369 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.6458, allocations: 27.62 kB / 0.7369 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.6459, allocations: 34.36 kB / 0.7369 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.646, allocations: 0 / 0.7369 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.646, allocations: 0 / 0.7369 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.646, allocations: 7.984 kB / 0.7369 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.6467, allocations: 0.6019 MB / 0.7375 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6467, allocations: 0 / 0.7375 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-05/0.6468, allocations: 11.98 kB / 0.7375 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6468, allocations: 3.938 kB / 0.7375 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.6468, allocations: 15.98 kB / 0.7376 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6468, allocations: 0 / 0.7376 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6468, allocations: 3.938 kB / 0.7376 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.6473, allocations: 323 kB / 0.7379 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.6475, allocations: 188.7 kB / 0.7381 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.522e-05/0.6475, allocations: 12 kB / 0.7381 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.6477, allocations: 11.98 kB / 0.7381 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.6478, allocations: 23.91 kB / 0.7381 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.6478, allocations: 27.98 kB / 0.7381 GB, free: 1.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002038/0.648, allocations: 227 kB / 0.7383 GB, free: 0.957 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6481, allocations: 0 / 0.7383 GB, free: 0.957 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003034/0.6484, allocations: 55.91 kB / 0.7384 GB, free: 0.9023 MB / 0.545 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.0002115/0.6486, allocations: 133.7 kB / 0.7385 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.6491, allocations: 360.7 kB / 0.7389 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6492, allocations: 0 / 0.7389 GB, free: 396 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.6493, allocations: 75.91 kB / 0.7389 GB, free: 320 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.6497, allocations: 36.61 kB / 0.739 GB, free: 284 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.6506, allocations: 0.5079 MB / 0.7395 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.651, allocations: 0.7654 MB / 0.7402 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.6512, allocations: 41.42 kB / 0.7403 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.6513, allocations: 39.41 kB / 0.7403 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.6513, allocations: 0 / 0.7403 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.008477/0.6598, allocations: 4.366 MB / 0.7446 GB, free: 10.57 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: