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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001092, allocations: 91.84 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.01108/0.01108, allocations: 170 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.732/1.732, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.588/1.588, allocations: 252 MB / 0.5105 GB, free: 4.727 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.0005518/0.0005521, allocations: 20 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.5971, allocations: 106.3 MB / 0.7288 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.00205/0.5992, allocations: 1.401 MB / 0.7301 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.6003, allocations: 0.4915 MB / 0.7306 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.6004, allocations: 3.938 kB / 0.7306 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.6005, allocations: 3.938 kB / 0.7306 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.6007, allocations: 32.16 kB / 0.7306 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006875/0.6014, allocations: 251.5 kB / 0.7309 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.6017, allocations: 347.8 kB / 0.7312 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.6019, allocations: 33.33 kB / 0.7312 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.6022, allocations: 222.2 kB / 0.7315 GB, free: 8.535 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.6025, allocations: 127.6 kB / 0.7316 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.953e-05/0.6025, allocations: 8 kB / 0.7316 GB, free: 8.402 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.6026, allocations: 12 kB / 0.7316 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.6027, allocations: 83.66 kB / 0.7317 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.6029, allocations: 164.9 kB / 0.7318 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.6033, allocations: 400.6 kB / 0.7322 GB, free: 7.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6033, allocations: 0 / 0.7322 GB, free: 7.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.336e-06/0.6034, allocations: 0 / 0.7322 GB, free: 7.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.6034, allocations: 0 / 0.7322 GB, free: 7.75 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.001208/0.6046, allocations: 0.6297 MB / 0.7328 GB, free: 7.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6046, allocations: 16.03 kB / 0.7328 GB, free: 7.031 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.796e-05/0.6047, allocations: 35.62 kB / 0.7329 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.6051, allocations: 274.9 kB / 0.7331 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.6051, allocations: 16 kB / 0.7332 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.6052, allocations: 27.92 kB / 0.7332 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.6055, allocations: 169.4 kB / 0.7333 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.6056, allocations: 3.984 kB / 0.7333 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.6056, allocations: 0 / 0.7333 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.6056, allocations: 4 kB / 0.7334 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.6058, allocations: 63.97 kB / 0.7334 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.6069, allocations: 0.5665 MB / 0.734 GB, free: 5.785 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.6072, allocations: 138.7 kB / 0.7341 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.6073, allocations: 56.83 kB / 0.7342 GB, free: 5.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.6074, allocations: 4 kB / 0.7342 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/0.6079, allocations: 232.1 kB / 0.7344 GB, free: 5.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.6079, allocations: 0 / 0.7344 GB, free: 5.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006191/0.6085, allocations: 287.1 kB / 0.7347 GB, free: 5.055 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.6086, allocations: 63.39 kB / 0.7347 GB, free: 4.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.6089, allocations: 316.4 kB / 0.735 GB, free: 4.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.609, allocations: 37.7 kB / 0.735 GB, free: 4.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.6091, allocations: 109 kB / 0.7352 GB, free: 4.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.6091, allocations: 39.55 kB / 0.7352 GB, free: 4.469 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.6092, allocations: 33.7 kB / 0.7352 GB, free: 4.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6093, allocations: 326.8 kB / 0.7355 GB, free: 4.102 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.6096, allocations: 112.1 kB / 0.7356 GB, free: 3.988 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.6099, allocations: 155.8 kB / 0.7358 GB, free: 3.816 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.6103, allocations: 265 kB / 0.736 GB, free: 3.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6103, allocations: 0 / 0.736 GB, free: 3.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00072/0.611, allocations: 448.5 kB / 0.7365 GB, free: 3.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.6111, allocations: 75.39 kB / 0.7365 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6111, allocations: 4 kB / 0.7365 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.6111, allocations: 4 kB / 0.7366 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.6113, allocations: 31.91 kB / 0.7366 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6113, allocations: 4 kB / 0.7366 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.6118, allocations: 71.98 kB / 0.7367 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.6119, allocations: 51.98 kB / 0.7367 GB, free: 2.82 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.0002091/0.6121, allocations: 193.7 kB / 0.7369 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.6122, allocations: 27.62 kB / 0.7369 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.6122, allocations: 34.36 kB / 0.7369 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6122, allocations: 4 kB / 0.737 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6122, allocations: 0 / 0.737 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.6123, allocations: 0 / 0.737 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007886/0.6131, allocations: 0.6053 MB / 0.7375 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6131, allocations: 4 kB / 0.7375 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.6131, allocations: 4 kB / 0.7375 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6131, allocations: 0 / 0.7375 GB, free: 1.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.6132, allocations: 11.98 kB / 0.7376 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6132, allocations: 7.984 kB / 0.7376 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6132, allocations: 3.938 kB / 0.7376 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.6136, allocations: 334.9 kB / 0.7379 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.6138, allocations: 176.7 kB / 0.7381 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.6138, allocations: 11.98 kB / 0.7381 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.6141, allocations: 15.98 kB / 0.7381 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.6141, allocations: 19.92 kB / 0.7381 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.6142, allocations: 31.98 kB / 0.7381 GB, free: 1.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002145/0.6144, allocations: 227 kB / 0.7384 GB, free: 1.027 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6144, allocations: 0 / 0.7384 GB, free: 1.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003064/0.6147, allocations: 55.89 kB / 0.7384 GB, free: 0.9727 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.0001827/0.6149, allocations: 129.7 kB / 0.7385 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005446/0.6155, allocations: 364.9 kB / 0.7389 GB, free: 468 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6155, allocations: 4.062 kB / 0.7389 GB, free: 464 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.6156, allocations: 75.91 kB / 0.739 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.616, allocations: 36.56 kB / 0.739 GB, free: 352 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.6168, allocations: 0.5075 MB / 0.7395 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.6172, allocations: 0.7555 MB / 0.7402 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.6173, allocations: 41.42 kB / 0.7403 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.6174, allocations: 35.42 kB / 0.7403 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.6174, allocations: 0 / 0.7403 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.008169/0.6256, allocations: 4.381 MB / 0.7446 GB, free: 10.64 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: