Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009863, allocations: 100.8 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.001002/0.001002, allocations: 177.3 kB / 15.94 MB, free: 220 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.753/1.753, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.731/1.731, allocations: 251.9 MB / 0.51 GB, free: 4.871 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.0005301/0.0005304, allocations: 12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5903, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001685/0.592, allocations: 1.186 MB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008457/0.5929, allocations: 385.9 kB / 0.7295 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.5929, allocations: 0 / 0.7295 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.593, allocations: 11.92 kB / 0.7295 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.5931, allocations: 19.97 kB / 0.7295 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.5938, allocations: 210.1 kB / 0.7297 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.594, allocations: 151.7 kB / 0.7299 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.5941, allocations: 4 kB / 0.7299 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.5943, allocations: 167.7 kB / 0.73 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.5945, allocations: 119.7 kB / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.5946, allocations: 16 kB / 0.7301 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.5946, allocations: 8 kB / 0.7302 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.5948, allocations: 79.78 kB / 0.7302 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.716e-05/0.5948, allocations: 69.58 kB / 0.7303 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.5951, allocations: 197.6 kB / 0.7305 GB, free: 8.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5951, allocations: 4 kB / 0.7305 GB, free: 8.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.955e-06/0.5951, allocations: 0 / 0.7305 GB, free: 8.812 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5951, allocations: 3.938 kB / 0.7305 GB, free: 8.809 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.001066/0.5962, allocations: 0.6142 MB / 0.7311 GB, free: 8.121 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5962, allocations: 8.031 kB / 0.7311 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/0.5963, allocations: 39.61 kB / 0.7311 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.5966, allocations: 254.5 kB / 0.7314 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.5967, allocations: 15.98 kB / 0.7314 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.5968, allocations: 16 kB / 0.7314 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.597, allocations: 145.5 kB / 0.7316 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5971, allocations: 0 / 0.7316 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.5971, allocations: 11.98 kB / 0.7316 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5971, allocations: 0 / 0.7316 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.5972, allocations: 51.91 kB / 0.7316 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.5976, allocations: 313.3 kB / 0.7319 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.5979, allocations: 121.8 kB / 0.732 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.5979, allocations: 4 kB / 0.732 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/0.5984, allocations: 219.6 kB / 0.7322 GB, free: 6.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.5984, allocations: 0 / 0.7322 GB, free: 6.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005639/0.5989, allocations: 271 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.599, allocations: 75.31 kB / 0.7326 GB, free: 6.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.5993, allocations: 283 kB / 0.7328 GB, free: 6.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.5993, allocations: 37.7 kB / 0.7329 GB, free: 6.152 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.5994, allocations: 93.12 kB / 0.733 GB, free: 6.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.5995, allocations: 47.39 kB / 0.733 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.5995, allocations: 8 kB / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5996, allocations: 326.8 kB / 0.7333 GB, free: 5.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.5998, allocations: 92.17 kB / 0.7334 GB, free: 5.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.6001, allocations: 151.8 kB / 0.7336 GB, free: 5.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.6003, allocations: 147.5 kB / 0.7337 GB, free: 5.258 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6003, allocations: 4 kB / 0.7337 GB, free: 5.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007073/0.601, allocations: 415 kB / 0.7341 GB, free: 4.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.018e-05/0.6011, allocations: 79.38 kB / 0.7342 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.6011, allocations: 0 / 0.7342 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.347e-05/0.6012, allocations: 4 kB / 0.7342 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.6014, allocations: 27.86 kB / 0.7342 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.6014, allocations: 11.97 kB / 0.7342 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005274/0.6019, allocations: 71.98 kB / 0.7343 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.602, allocations: 59.97 kB / 0.7343 GB, free: 4.57 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.0002479/0.6023, allocations: 171.9 kB / 0.7345 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.6023, allocations: 31.7 kB / 0.7345 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.6024, allocations: 26.25 kB / 0.7346 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.6024, allocations: 4 kB / 0.7346 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6024, allocations: 4 kB / 0.7346 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.6025, allocations: 3.984 kB / 0.7346 GB, free: 4.324 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009666/0.6034, allocations: 0.5627 MB / 0.7351 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6034, allocations: 0 / 0.7351 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.72e-05/0.6035, allocations: 15.98 kB / 0.7351 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6035, allocations: 0 / 0.7351 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.6035, allocations: 15.98 kB / 0.7352 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6036, allocations: 0 / 0.7352 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6036, allocations: 0 / 0.7352 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.604, allocations: 319 kB / 0.7355 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.6042, allocations: 156.6 kB / 0.7356 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.6043, allocations: 11.98 kB / 0.7356 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.6045, allocations: 15.92 kB / 0.7356 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.6046, allocations: 19.98 kB / 0.7357 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/0.6047, allocations: 31.97 kB / 0.7357 GB, free: 3.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001973/0.6049, allocations: 201.9 kB / 0.7359 GB, free: 2.902 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6049, allocations: 0 / 0.7359 GB, free: 2.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003357/0.6052, allocations: 51.98 kB / 0.7359 GB, free: 2.852 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.000155/0.6054, allocations: 111.2 kB / 0.736 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000563/0.606, allocations: 345 kB / 0.7364 GB, free: 2.371 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.606, allocations: 0 / 0.7364 GB, free: 2.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.6061, allocations: 75.89 kB / 0.7364 GB, free: 2.297 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.6064, allocations: 24.83 kB / 0.7365 GB, free: 2.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.6071, allocations: 447 kB / 0.7369 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.6075, allocations: 0.7514 MB / 0.7376 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.6076, allocations: 37.42 kB / 0.7377 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.6077, allocations: 35.42 kB / 0.7377 GB, free: 0.957 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.6078, allocations: 0 / 0.7377 GB, free: 0.957 MB / 0.545 GB Notification: Performance of Templates: time 0.007364/0.6151, allocations: 3.893 MB / 0.7415 GB, free: 13.08 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: