Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001344/0.001344, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.9 MB / 0.51 GB, free: 4.898 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.0009983/0.0009984, allocations: 12 kB / 0.6241 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.5925, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001614/0.5942, allocations: 1.186 MB / 0.7291 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.5953, allocations: 389 kB / 0.7295 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.5953, allocations: 3.938 kB / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.07e-05/0.5954, allocations: 7.922 kB / 0.7295 GB, free: 9.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.5955, allocations: 19.97 kB / 0.7295 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006576/0.5962, allocations: 210.3 kB / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.5964, allocations: 151.8 kB / 0.7299 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.5965, allocations: 7.984 kB / 0.7299 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.5968, allocations: 163.7 kB / 0.73 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.597, allocations: 123.7 kB / 0.7302 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.597, allocations: 8 kB / 0.7302 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.331e-05/0.5971, allocations: 12 kB / 0.7302 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.5972, allocations: 79.78 kB / 0.7302 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.5973, allocations: 65.58 kB / 0.7303 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.5975, allocations: 209.5 kB / 0.7305 GB, free: 8.844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5975, allocations: 0 / 0.7305 GB, free: 8.844 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5975, allocations: 0 / 0.7305 GB, free: 8.844 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5975, allocations: 0 / 0.7305 GB, free: 8.844 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.001051/0.5986, allocations: 0.6142 MB / 0.7311 GB, free: 8.156 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5986, allocations: 8.031 kB / 0.7311 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.191e-05/0.5987, allocations: 35.62 kB / 0.7312 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.5991, allocations: 258.5 kB / 0.7314 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.5991, allocations: 12 kB / 0.7314 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.5992, allocations: 15.98 kB / 0.7314 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.5995, allocations: 152.1 kB / 0.7316 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5995, allocations: 0 / 0.7316 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.5995, allocations: 0 / 0.7316 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5996, allocations: 4 kB / 0.7316 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.5997, allocations: 47.97 kB / 0.7316 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.6001, allocations: 317.2 kB / 0.7319 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.6003, allocations: 126.7 kB / 0.732 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.6004, allocations: 4 kB / 0.732 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/0.6008, allocations: 215.6 kB / 0.7323 GB, free: 6.875 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.6009, allocations: 0 / 0.7323 GB, free: 6.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005719/0.6014, allocations: 275.6 kB / 0.7325 GB, free: 6.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.6015, allocations: 59.39 kB / 0.7326 GB, free: 6.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.6018, allocations: 287 kB / 0.7328 GB, free: 6.242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.6018, allocations: 45.69 kB / 0.7329 GB, free: 6.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.6019, allocations: 89.08 kB / 0.733 GB, free: 6.102 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.602, allocations: 47.39 kB / 0.733 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.602, allocations: 8 kB / 0.733 GB, free: 6.047 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6021, allocations: 330.8 kB / 0.7333 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.6023, allocations: 92.17 kB / 0.7334 GB, free: 5.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.6026, allocations: 151.8 kB / 0.7336 GB, free: 5.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.6028, allocations: 148.1 kB / 0.7337 GB, free: 5.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6028, allocations: 0 / 0.7337 GB, free: 5.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006445/0.6035, allocations: 427 kB / 0.7341 GB, free: 4.859 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.6036, allocations: 71.39 kB / 0.7342 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6036, allocations: 0 / 0.7342 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.6036, allocations: 4 kB / 0.7342 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.6038, allocations: 31.91 kB / 0.7342 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.6038, allocations: 4 kB / 0.7342 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.6043, allocations: 68.05 kB / 0.7343 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.6044, allocations: 51.98 kB / 0.7343 GB, free: 4.621 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000199/0.6046, allocations: 183 kB / 0.7345 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.6046, allocations: 23.72 kB / 0.7345 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.6047, allocations: 38.25 kB / 0.7346 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6047, allocations: 0 / 0.7346 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6047, allocations: 3.938 kB / 0.7346 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.6047, allocations: 0 / 0.7346 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00081/0.6056, allocations: 0.5529 MB / 0.7351 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6056, allocations: 7.938 kB / 0.7351 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.6056, allocations: 7.984 kB / 0.7351 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6056, allocations: 0 / 0.7351 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.6057, allocations: 15.98 kB / 0.7352 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6057, allocations: 8 kB / 0.7352 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6057, allocations: 0 / 0.7352 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.6061, allocations: 325.2 kB / 0.7355 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.6063, allocations: 152.6 kB / 0.7356 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.6063, allocations: 8 kB / 0.7356 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.6065, allocations: 15.98 kB / 0.7356 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.6066, allocations: 15.97 kB / 0.7357 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.6067, allocations: 35.98 kB / 0.7357 GB, free: 3.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001784/0.6069, allocations: 213.9 kB / 0.7359 GB, free: 2.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6069, allocations: 0 / 0.7359 GB, free: 2.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000322/0.6072, allocations: 44 kB / 0.7359 GB, free: 2.898 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001398/0.6073, allocations: 113.3 kB / 0.736 GB, free: 2.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.6079, allocations: 346.8 kB / 0.7364 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.6079, allocations: 4.375 kB / 0.7364 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.608, allocations: 69.94 kB / 0.7364 GB, free: 2.344 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.6083, allocations: 24.77 kB / 0.7365 GB, free: 2.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.609, allocations: 454.8 kB / 0.7369 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.6094, allocations: 0.7475 MB / 0.7376 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.6095, allocations: 41.36 kB / 0.7377 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.6096, allocations: 35.42 kB / 0.7377 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.6096, allocations: 0 / 0.7377 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of Templates: time 0.007365/0.617, allocations: 3.896 MB / 0.7415 GB, free: 13.11 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: