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.0008187/0.0008188, allocations: 97.64 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.006034/0.006034, allocations: 170.1 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.682/1.682, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.656/1.656, allocations: 252 MB / 0.5105 GB, free: 4.676 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.0005461/0.0005459, allocations: 12 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.585/0.5856, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002498/0.5882, allocations: 1.395 MB / 0.7301 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.5893, allocations: 0.4954 MB / 0.7306 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-05/0.5895, allocations: 0 / 0.7306 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.5896, allocations: 3.938 kB / 0.7306 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.5897, allocations: 24.17 kB / 0.7306 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008643/0.5906, allocations: 266.1 kB / 0.7309 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.5911, allocations: 351.8 kB / 0.7312 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.5912, allocations: 33.42 kB / 0.7312 GB, free: 8.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.5916, allocations: 222.3 kB / 0.7315 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.5919, allocations: 119.6 kB / 0.7316 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.5919, allocations: 19.98 kB / 0.7316 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.592, allocations: 8 kB / 0.7316 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.5921, allocations: 79.72 kB / 0.7317 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.5923, allocations: 160.9 kB / 0.7318 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.5927, allocations: 396.6 kB / 0.7322 GB, free: 7.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5927, allocations: 0 / 0.7322 GB, free: 7.715 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.073e-06/0.5927, allocations: 0 / 0.7322 GB, free: 7.715 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5927, allocations: 7.938 kB / 0.7322 GB, free: 7.707 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.001185/0.5939, allocations: 0.6336 MB / 0.7328 GB, free: 7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.594, allocations: 8.031 kB / 0.7328 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.5941, allocations: 39.61 kB / 0.7329 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.5944, allocations: 282.8 kB / 0.7331 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/0.5945, allocations: 12 kB / 0.7332 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.5946, allocations: 23.98 kB / 0.7332 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.5949, allocations: 169.4 kB / 0.7333 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5949, allocations: 0 / 0.7333 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.595, allocations: 11.98 kB / 0.7334 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.595, allocations: 4 kB / 0.7334 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.5951, allocations: 58.38 kB / 0.7334 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.5963, allocations: 0.5588 MB / 0.734 GB, free: 5.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.5966, allocations: 146.6 kB / 0.7341 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.5967, allocations: 64.83 kB / 0.7342 GB, free: 5.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.5968, allocations: 3.984 kB / 0.7342 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004908/0.5973, allocations: 224.2 kB / 0.7344 GB, free: 5.297 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.5973, allocations: 0 / 0.7344 GB, free: 5.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006013/0.5979, allocations: 287.1 kB / 0.7347 GB, free: 5.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.5979, allocations: 59.39 kB / 0.7347 GB, free: 4.941 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.5983, allocations: 320.4 kB / 0.735 GB, free: 4.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/0.5984, allocations: 41.7 kB / 0.7351 GB, free: 4.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.5985, allocations: 101 kB / 0.7351 GB, free: 4.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.5985, allocations: 43.53 kB / 0.7352 GB, free: 4.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.5986, allocations: 37.7 kB / 0.7352 GB, free: 4.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5987, allocations: 326.8 kB / 0.7355 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.599, allocations: 108.2 kB / 0.7356 GB, free: 3.945 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.5992, allocations: 167.8 kB / 0.7358 GB, free: 3.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.5996, allocations: 251.9 kB / 0.736 GB, free: 3.484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5996, allocations: 4 kB / 0.736 GB, free: 3.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007326/0.6003, allocations: 438.8 kB / 0.7365 GB, free: 3.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.677e-05/0.6004, allocations: 83.38 kB / 0.7365 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6004, allocations: 0 / 0.7365 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6005, allocations: 4 kB / 0.7365 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.6006, allocations: 23.92 kB / 0.7366 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.6007, allocations: 7.984 kB / 0.7366 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.6012, allocations: 68.05 kB / 0.7366 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.6013, allocations: 55.98 kB / 0.7367 GB, free: 2.785 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.0002012/0.6015, allocations: 185.7 kB / 0.7369 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.6015, allocations: 35.61 kB / 0.7369 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.6016, allocations: 34.3 kB / 0.7369 GB, free: 2.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6016, allocations: 4 kB / 0.7369 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6016, allocations: 0 / 0.7369 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6016, allocations: 0 / 0.7369 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/0.6024, allocations: 0.6017 MB / 0.7375 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6024, allocations: 0 / 0.7375 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.6025, allocations: 7.984 kB / 0.7375 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6025, allocations: 8 kB / 0.7375 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.6025, allocations: 11.98 kB / 0.7376 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6025, allocations: 0 / 0.7376 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.6026, allocations: 11.88 kB / 0.7376 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.603, allocations: 331 kB / 0.7379 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.6032, allocations: 180.7 kB / 0.7381 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.6033, allocations: 12 kB / 0.7381 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.6035, allocations: 15.98 kB / 0.7381 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.6036, allocations: 27.81 kB / 0.7381 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.6036, allocations: 27.98 kB / 0.7381 GB, free: 1.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002133/0.6038, allocations: 231 kB / 0.7384 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6038, allocations: 0 / 0.7384 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003329/0.6042, allocations: 48 kB / 0.7384 GB, free: 0.9336 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.0001856/0.6044, allocations: 129.4 kB / 0.7385 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006041/0.605, allocations: 360.8 kB / 0.7389 GB, free: 432 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.605, allocations: 0 / 0.7389 GB, free: 432 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.6052, allocations: 87.88 kB / 0.739 GB, free: 344 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.6056, allocations: 26.88 kB / 0.739 GB, free: 320 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/0.6065, allocations: 0.5076 MB / 0.7395 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.6069, allocations: 0.7633 MB / 0.7402 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.607, allocations: 37.42 kB / 0.7403 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.6072, allocations: 39.42 kB / 0.7403 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.6072, allocations: 0 / 0.7403 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.009052/0.6162, allocations: 4.376 MB / 0.7446 GB, free: 10.61 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: