Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007033/0.0007037, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.003846/0.003846, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.168/1.168, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.363/1.363, allocations: 252 MB / 0.5105 GB, free: 4.609 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.000486/0.000486, allocations: 12 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3851, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001436/0.3866, allocations: 1.202 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.3874, allocations: 439.4 kB / 0.7303 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.3874, allocations: 0 / 0.7303 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.224e-05/0.3875, allocations: 7.922 kB / 0.7303 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/0.3876, allocations: 12.31 kB / 0.7303 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.3881, allocations: 231.5 kB / 0.7305 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.3884, allocations: 291.9 kB / 0.7308 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.3885, allocations: 7.984 kB / 0.7308 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.3887, allocations: 214.3 kB / 0.731 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.389, allocations: 115.6 kB / 0.7311 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.389, allocations: 12 kB / 0.7312 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.3891, allocations: 8 kB / 0.7312 GB, free: 8.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.36e-05/0.3892, allocations: 75.77 kB / 0.7312 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.3893, allocations: 145 kB / 0.7314 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.3896, allocations: 277 kB / 0.7316 GB, free: 8.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3896, allocations: 4 kB / 0.7316 GB, free: 8.246 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3896, allocations: 0 / 0.7316 GB, free: 8.246 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3896, allocations: 0 / 0.7316 GB, free: 8.246 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009768/0.3906, allocations: 0.618 MB / 0.7323 GB, free: 7.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3906, allocations: 8.031 kB / 0.7323 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.3907, allocations: 31.62 kB / 0.7323 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.391, allocations: 274.2 kB / 0.7326 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.3911, allocations: 8 kB / 0.7326 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.3911, allocations: 23.98 kB / 0.7326 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.3914, allocations: 147.3 kB / 0.7327 GB, free: 7.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3914, allocations: 3.938 kB / 0.7327 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.3915, allocations: 0 / 0.7327 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3915, allocations: 0 / 0.7327 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.3916, allocations: 47.97 kB / 0.7328 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.392, allocations: 305.4 kB / 0.7331 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.3922, allocations: 134.7 kB / 0.7332 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3924, allocations: 61.08 kB / 0.7332 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.3924, allocations: 4 kB / 0.7333 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/0.3928, allocations: 227.4 kB / 0.7335 GB, free: 6.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 2.695e-06/0.3928, allocations: 3.984 kB / 0.7335 GB, free: 6.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005613/0.3934, allocations: 267.2 kB / 0.7337 GB, free: 5.922 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3934, allocations: 59.41 kB / 0.7338 GB, free: 5.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.3937, allocations: 290.9 kB / 0.7341 GB, free: 5.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/0.3938, allocations: 45.69 kB / 0.7341 GB, free: 5.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.3939, allocations: 89.14 kB / 0.7342 GB, free: 5.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.3939, allocations: 51.38 kB / 0.7342 GB, free: 5.367 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.394, allocations: 33.7 kB / 0.7343 GB, free: 5.328 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3941, allocations: 326.8 kB / 0.7346 GB, free: 5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.3943, allocations: 88.17 kB / 0.7347 GB, free: 4.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.3946, allocations: 155.8 kB / 0.7348 GB, free: 4.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.3949, allocations: 241.1 kB / 0.735 GB, free: 4.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3949, allocations: 4 kB / 0.735 GB, free: 4.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006482/0.3955, allocations: 412.6 kB / 0.7354 GB, free: 4.047 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.3956, allocations: 75.39 kB / 0.7355 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3956, allocations: 7.984 kB / 0.7355 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3957, allocations: 7.938 kB / 0.7355 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3958, allocations: 27.91 kB / 0.7356 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3958, allocations: 0 / 0.7356 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.3963, allocations: 72.05 kB / 0.7356 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.3964, allocations: 51.98 kB / 0.7357 GB, free: 3.797 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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.0001886/0.3966, allocations: 179.9 kB / 0.7358 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.3967, allocations: 27.62 kB / 0.7359 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.3967, allocations: 26.25 kB / 0.7359 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3967, allocations: 7.938 kB / 0.7359 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3967, allocations: 0 / 0.7359 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3968, allocations: 3.938 kB / 0.7359 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/0.3975, allocations: 0.5513 MB / 0.7364 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3975, allocations: 3.938 kB / 0.7365 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.3975, allocations: 19.98 kB / 0.7365 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3975, allocations: 4 kB / 0.7365 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.3976, allocations: 11.98 kB / 0.7365 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3976, allocations: 0 / 0.7365 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3976, allocations: 0 / 0.7365 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.398, allocations: 326.9 kB / 0.7368 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.3981, allocations: 152.7 kB / 0.7369 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.3982, allocations: 11.94 kB / 0.737 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.3984, allocations: 15.98 kB / 0.737 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.3984, allocations: 15.98 kB / 0.737 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.3985, allocations: 31.97 kB / 0.737 GB, free: 2.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001784/0.3987, allocations: 209.9 kB / 0.7372 GB, free: 2.121 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3987, allocations: 0 / 0.7372 GB, free: 2.121 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003076/0.399, allocations: 51.98 kB / 0.7373 GB, free: 2.07 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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.0001325/0.3991, allocations: 111.2 kB / 0.7374 GB, free: 1.949 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005205/0.3996, allocations: 348.8 kB / 0.7377 GB, free: 1.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3997, allocations: 4 kB / 0.7377 GB, free: 1.582 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3998, allocations: 79.88 kB / 0.7378 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.4001, allocations: 26.64 kB / 0.7378 GB, free: 1.477 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.4008, allocations: 467.2 kB / 0.7383 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.4011, allocations: 0.7499 MB / 0.739 GB, free: 224 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.4012, allocations: 45.41 kB / 0.739 GB, free: 180 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.4013, allocations: 31.42 kB / 0.7391 GB, free: 148 kB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4013, allocations: 4 kB / 0.7391 GB, free: 144 kB / 0.545 GB Notification: Performance of Templates: time 0.006606/0.4079, allocations: 3.982 MB / 0.743 GB, free: 12.18 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: