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.0008978/0.0008978, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009436/0.0009435, allocations: 198 kB / 16.14 MB, free: 6.656 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.219/1.219, allocations: 205.1 MB / 222 MB, free: 4.719 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.348/1.348, allocations: 251.7 MB / 0.5088 GB, free: 3.371 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.001406/0.001406, allocations: 64.42 kB / 0.6216 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4151, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002314/0.4175, allocations: 1.541 MB / 0.7253 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000811/0.4183, allocations: 447.3 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.4184, allocations: 4 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.446e-05/0.4185, allocations: 7.922 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.52e-05/0.4186, allocations: 20.28 kB / 0.7258 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.4191, allocations: 226.2 kB / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.4193, allocations: 287.9 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.4194, allocations: 4 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.4196, allocations: 214.3 kB / 0.7265 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.4198, allocations: 115.6 kB / 0.7266 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.259e-05/0.4199, allocations: 16 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.816e-05/0.4199, allocations: 8 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.4201, allocations: 83.7 kB / 0.7267 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.4202, allocations: 127.2 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.4205, allocations: 277 kB / 0.7271 GB, free: 9.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4205, allocations: 0 / 0.7271 GB, free: 9.836 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.31e-07/0.4205, allocations: 0 / 0.7271 GB, free: 9.836 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.4205, allocations: 0 / 0.7271 GB, free: 9.836 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.001111/0.4216, allocations: 0.7075 MB / 0.7277 GB, free: 9.055 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4217, allocations: 12.03 kB / 0.7278 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/0.4218, allocations: 27.72 kB / 0.7278 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.4221, allocations: 258.3 kB / 0.728 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.4221, allocations: 12 kB / 0.728 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.4222, allocations: 19.98 kB / 0.7281 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.4224, allocations: 144.8 kB / 0.7282 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4225, allocations: 11.88 kB / 0.7282 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.4225, allocations: 0 / 0.7282 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4225, allocations: 0 / 0.7282 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.4226, allocations: 51.97 kB / 0.7283 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.4229, allocations: 309.3 kB / 0.7286 GB, free: 8.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.4232, allocations: 126.7 kB / 0.7287 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.4233, allocations: 61.16 kB / 0.7287 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4234, allocations: 0 / 0.7287 GB, free: 7.941 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.4238, allocations: 233.2 kB / 0.729 GB, free: 7.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.4238, allocations: 0 / 0.729 GB, free: 7.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005284/0.4243, allocations: 275.3 kB / 0.7292 GB, free: 7.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.4244, allocations: 63.41 kB / 0.7293 GB, free: 7.355 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.4246, allocations: 283 kB / 0.7295 GB, free: 7.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.4247, allocations: 45.69 kB / 0.7296 GB, free: 7.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.4247, allocations: 89.14 kB / 0.7297 GB, free: 6.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.4248, allocations: 47.39 kB / 0.7297 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.425, allocations: 109.6 kB / 0.7298 GB, free: 6.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4251, allocations: 322.8 kB / 0.7301 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.4253, allocations: 96.17 kB / 0.7302 GB, free: 6.348 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.4255, allocations: 146.4 kB / 0.7304 GB, free: 6.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.4258, allocations: 243.3 kB / 0.7306 GB, free: 5.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4258, allocations: 4 kB / 0.7306 GB, free: 5.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006605/0.4265, allocations: 412.7 kB / 0.731 GB, free: 5.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.485e-05/0.4266, allocations: 71.39 kB / 0.7311 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4266, allocations: 0 / 0.7311 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4266, allocations: 12.11 kB / 0.7311 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.4268, allocations: 31.92 kB / 0.7311 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.4268, allocations: 4 kB / 0.7311 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.4273, allocations: 59.8 kB / 0.7312 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.4274, allocations: 55.97 kB / 0.7312 GB, free: 5.246 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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.0001742/0.4276, allocations: 175.9 kB / 0.7314 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.4276, allocations: 27.62 kB / 0.7314 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.4277, allocations: 30.23 kB / 0.7314 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4277, allocations: 11.88 kB / 0.7315 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4277, allocations: 0 / 0.7315 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4277, allocations: 3.984 kB / 0.7315 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007545/0.4284, allocations: 0.5529 MB / 0.732 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4285, allocations: 4 kB / 0.732 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.4285, allocations: 8 kB / 0.732 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4285, allocations: 0 / 0.732 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.4286, allocations: 19.97 kB / 0.732 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4286, allocations: 0 / 0.732 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4286, allocations: 0 / 0.732 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.429, allocations: 329 kB / 0.7323 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4291, allocations: 152.7 kB / 0.7325 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.4292, allocations: 12 kB / 0.7325 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.4294, allocations: 11.98 kB / 0.7325 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.4295, allocations: 15.97 kB / 0.7325 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.4295, allocations: 31.98 kB / 0.7326 GB, free: 3.777 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001788/0.4297, allocations: 209.9 kB / 0.7328 GB, free: 3.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4297, allocations: 0 / 0.7328 GB, free: 3.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003049/0.43, allocations: 48 kB / 0.7328 GB, free: 3.527 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 (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.0001312/0.4302, allocations: 115.2 kB / 0.7329 GB, free: 3.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005107/0.4307, allocations: 346.5 kB / 0.7332 GB, free: 3.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4307, allocations: 4 kB / 0.7332 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.4309, allocations: 69.47 kB / 0.7333 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.4312, allocations: 34.44 kB / 0.7333 GB, free: 2.941 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.4318, allocations: 465.8 kB / 0.7338 GB, free: 2.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4322, allocations: 0.7475 MB / 0.7345 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.4323, allocations: 37.44 kB / 0.7346 GB, free: 1.645 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.4324, allocations: 35.41 kB / 0.7346 GB, free: 1.609 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.4324, allocations: 4 kB / 0.7346 GB, free: 1.605 MB / 0.545 GB Notification: Performance of Templates: time 0.00648/0.4389, allocations: 4.014 MB / 0.7385 GB, free: 13.61 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (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)