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.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001174/0.001174, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.716/1.716, allocations: 205.1 MB / 222 MB, free: 4.762 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.606/1.606, allocations: 251.7 MB / 0.5088 GB, free: 3.273 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.001354/0.001354, allocations: 67.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7043, allocations: 104.7 MB / 0.7238 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003241/0.7076, allocations: 1.737 MB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.7088, allocations: 0.4977 MB / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.7088, allocations: 0 / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.7089, allocations: 11.86 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.7091, allocations: 24.28 kB / 0.7261 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.7097, allocations: 258.8 kB / 0.7263 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.71, allocations: 351.8 kB / 0.7266 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.7102, allocations: 37.31 kB / 0.7267 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.7105, allocations: 226.2 kB / 0.7269 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.7107, allocations: 127.6 kB / 0.727 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.7108, allocations: 8 kB / 0.727 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.024e-05/0.7108, allocations: 12 kB / 0.727 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.711, allocations: 83.72 kB / 0.7271 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.7111, allocations: 139.2 kB / 0.7272 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.7115, allocations: 404.8 kB / 0.7276 GB, free: 9.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7116, allocations: 4 kB / 0.7276 GB, free: 9.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7116, allocations: 0 / 0.7276 GB, free: 9.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.7116, allocations: 0 / 0.7276 GB, free: 9.402 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.001463/0.713, allocations: 0.7308 MB / 0.7284 GB, free: 8.598 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.7131, allocations: 8.031 kB / 0.7284 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.7132, allocations: 39.62 kB / 0.7284 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.7136, allocations: 274.9 kB / 0.7287 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/0.7136, allocations: 15.98 kB / 0.7287 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.7137, allocations: 20 kB / 0.7287 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.714, allocations: 180.9 kB / 0.7289 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.7141, allocations: 0 / 0.7289 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.7141, allocations: 4 kB / 0.7289 GB, free: 8.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.7141, allocations: 3.938 kB / 0.7289 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.7143, allocations: 59.97 kB / 0.7289 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.7154, allocations: 0.5627 MB / 0.7295 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.7157, allocations: 134.7 kB / 0.7296 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.7158, allocations: 64.83 kB / 0.7297 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.7158, allocations: 0 / 0.7297 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005012/0.7163, allocations: 233.8 kB / 0.7299 GB, free: 6.902 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.7164, allocations: 0 / 0.7299 GB, free: 6.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006188/0.717, allocations: 281.1 kB / 0.7302 GB, free: 6.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.717, allocations: 67.39 kB / 0.7302 GB, free: 6.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.7173, allocations: 312.5 kB / 0.7305 GB, free: 6.227 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.7174, allocations: 45.62 kB / 0.7306 GB, free: 6.176 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.7175, allocations: 97.05 kB / 0.7307 GB, free: 6.078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.7176, allocations: 43.45 kB / 0.7307 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.7177, allocations: 109.7 kB / 0.7308 GB, free: 5.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.7179, allocations: 334.8 kB / 0.7311 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.7181, allocations: 104.2 kB / 0.7312 GB, free: 5.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.7184, allocations: 167.8 kB / 0.7314 GB, free: 5.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.7187, allocations: 257.8 kB / 0.7316 GB, free: 5.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.7188, allocations: 0 / 0.7316 GB, free: 5.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007226/0.7195, allocations: 444.3 kB / 0.7321 GB, free: 4.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.698e-05/0.7196, allocations: 79.38 kB / 0.7321 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.7196, allocations: 0 / 0.7321 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7196, allocations: 4 kB / 0.7321 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.7198, allocations: 27.92 kB / 0.7322 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.7198, allocations: 7.984 kB / 0.7322 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.7203, allocations: 59.8 kB / 0.7322 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.7204, allocations: 56.02 kB / 0.7323 GB, free: 4.32 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.0002117/0.7206, allocations: 189.7 kB / 0.7325 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.7207, allocations: 31.61 kB / 0.7325 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.192e-05/0.7207, allocations: 34.36 kB / 0.7325 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7208, allocations: 7.938 kB / 0.7325 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7208, allocations: 0 / 0.7325 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7208, allocations: 0 / 0.7325 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007566/0.7215, allocations: 0.6034 MB / 0.7331 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.7215, allocations: 4 kB / 0.7331 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.7216, allocations: 7.984 kB / 0.7331 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7216, allocations: 0 / 0.7331 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.7216, allocations: 15.98 kB / 0.7331 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.7217, allocations: 0 / 0.7331 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.7217, allocations: 3.938 kB / 0.7331 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.7221, allocations: 333.3 kB / 0.7335 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.7223, allocations: 184.6 kB / 0.7336 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.7224, allocations: 8 kB / 0.7337 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.7226, allocations: 15.98 kB / 0.7337 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.045e-05/0.7227, allocations: 19.91 kB / 0.7337 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.7227, allocations: 31.98 kB / 0.7337 GB, free: 2.746 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002199/0.7229, allocations: 223 kB / 0.7339 GB, free: 2.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7229, allocations: 0 / 0.7339 GB, free: 2.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003234/0.7233, allocations: 59.98 kB / 0.734 GB, free: 2.469 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.0001972/0.7235, allocations: 121.7 kB / 0.7341 GB, free: 2.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.724, allocations: 366.6 kB / 0.7345 GB, free: 1.957 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7241, allocations: 0 / 0.7345 GB, free: 1.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.7242, allocations: 79.8 kB / 0.7345 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.7246, allocations: 35.69 kB / 0.7346 GB, free: 1.848 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.7254, allocations: 0.5067 MB / 0.7351 GB, free: 1.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.7257, allocations: 0.7599 MB / 0.7358 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.7259, allocations: 41.42 kB / 0.7358 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.726, allocations: 31.42 kB / 0.7359 GB, free: 476 kB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.726, allocations: 0 / 0.7359 GB, free: 476 kB / 0.545 GB Notification: Performance of Templates: time 0.00797/0.734, allocations: 4.4 MB / 0.7402 GB, free: 12.13 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)