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.000848/0.0008479, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0009549/0.0009551, allocations: 172.7 kB / 15.95 MB, free: 208 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.783/1.783, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.539/1.539, allocations: 252 MB / 0.5102 GB, free: 4.73 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.0007759/0.0007762, allocations: 16 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6339/0.6347, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001699/0.6364, allocations: 1.195 MB / 0.7293 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.6373, allocations: 407.1 kB / 0.7297 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.6373, allocations: 0 / 0.7297 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.856e-05/0.6375, allocations: 3.938 kB / 0.7297 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.34e-05/0.6376, allocations: 15.92 kB / 0.7297 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.6382, allocations: 217.9 kB / 0.7299 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.6384, allocations: 239.5 kB / 0.7301 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.6385, allocations: 8 kB / 0.7301 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.6388, allocations: 227.6 kB / 0.7303 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.639, allocations: 123.8 kB / 0.7305 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.6391, allocations: 11.94 kB / 0.7305 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.6391, allocations: 12 kB / 0.7305 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.6392, allocations: 83.77 kB / 0.7306 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.6393, allocations: 65.58 kB / 0.7306 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.6396, allocations: 205.5 kB / 0.7308 GB, free: 8.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6396, allocations: 0 / 0.7308 GB, free: 8.613 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6396, allocations: 0 / 0.7308 GB, free: 8.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.6396, allocations: 4 kB / 0.7308 GB, free: 8.609 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.0009871/0.6406, allocations: 0.6102 MB / 0.7314 GB, free: 7.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.6406, allocations: 12.03 kB / 0.7314 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.6407, allocations: 35.61 kB / 0.7315 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.641, allocations: 254.5 kB / 0.7317 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.641, allocations: 19.98 kB / 0.7317 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.6411, allocations: 20 kB / 0.7317 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.6414, allocations: 149.5 kB / 0.7319 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.6414, allocations: 0 / 0.7319 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.6414, allocations: 0 / 0.7319 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6415, allocations: 0 / 0.7319 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.6416, allocations: 47.97 kB / 0.7319 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.6419, allocations: 309.3 kB / 0.7322 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.6422, allocations: 142.6 kB / 0.7324 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.6423, allocations: 56.83 kB / 0.7324 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.6423, allocations: 4 kB / 0.7324 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004184/0.6428, allocations: 211.6 kB / 0.7326 GB, free: 6.574 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.6428, allocations: 0 / 0.7326 GB, free: 6.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.00052/0.6433, allocations: 275.1 kB / 0.7329 GB, free: 6.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.6433, allocations: 55.41 kB / 0.7329 GB, free: 6.234 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.6436, allocations: 287 kB / 0.7332 GB, free: 5.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.6436, allocations: 41.69 kB / 0.7333 GB, free: 5.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.6437, allocations: 93.12 kB / 0.7333 GB, free: 5.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.6438, allocations: 47.45 kB / 0.7334 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.6438, allocations: 7.938 kB / 0.7334 GB, free: 5.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6439, allocations: 330.8 kB / 0.7337 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.6441, allocations: 96.11 kB / 0.7338 GB, free: 5.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.6444, allocations: 147.8 kB / 0.7339 GB, free: 5.156 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.6446, allocations: 158.9 kB / 0.7341 GB, free: 4.988 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6446, allocations: 0 / 0.7341 GB, free: 4.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006204/0.6452, allocations: 415 kB / 0.7345 GB, free: 4.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.6453, allocations: 71.58 kB / 0.7346 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.6453, allocations: 11.98 kB / 0.7346 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6453, allocations: 0 / 0.7346 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.6455, allocations: 31.97 kB / 0.7346 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.6455, allocations: 3.938 kB / 0.7346 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/0.646, allocations: 75.8 kB / 0.7347 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.6461, allocations: 47.98 kB / 0.7347 GB, free: 4.316 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.0001659/0.6462, allocations: 171.9 kB / 0.7349 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.6463, allocations: 27.66 kB / 0.7349 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.6463, allocations: 34.25 kB / 0.7349 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.6463, allocations: 0 / 0.7349 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.6463, allocations: 4 kB / 0.735 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6464, allocations: 4 kB / 0.735 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007345/0.6471, allocations: 0.5589 MB / 0.7355 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6471, allocations: 0 / 0.7355 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.6472, allocations: 7.938 kB / 0.7355 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.6472, allocations: 4 kB / 0.7355 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.6472, allocations: 19.91 kB / 0.7355 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6472, allocations: 4 kB / 0.7355 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6472, allocations: 0 / 0.7355 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.6476, allocations: 319 kB / 0.7358 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.6478, allocations: 156.6 kB / 0.736 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.6478, allocations: 8 kB / 0.736 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.648, allocations: 19.92 kB / 0.736 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.6481, allocations: 19.97 kB / 0.736 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.6481, allocations: 31.98 kB / 0.7361 GB, free: 2.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001734/0.6483, allocations: 205.9 kB / 0.7363 GB, free: 2.645 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6483, allocations: 0 / 0.7363 GB, free: 2.645 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002925/0.6486, allocations: 52 kB / 0.7363 GB, free: 2.594 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.0001286/0.6488, allocations: 115.1 kB / 0.7364 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.6493, allocations: 352.6 kB / 0.7368 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6493, allocations: 0 / 0.7368 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.6494, allocations: 67.97 kB / 0.7368 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.6498, allocations: 23.5 kB / 0.7368 GB, free: 2.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.6504, allocations: 459.9 kB / 0.7373 GB, free: 1.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.6507, allocations: 0.7475 MB / 0.738 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.6508, allocations: 37.42 kB / 0.7381 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.651, allocations: 39.41 kB / 0.7381 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/0.651, allocations: 0 / 0.7381 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of Templates: time 0.007046/0.658, allocations: 3.9 MB / 0.7419 GB, free: 12.8 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: