Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8191/0.8191, allocations: 143.4 MB / 159.2 MB, free: 4.828 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 182.8 kB / 191.9 MB, free: 5.699 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 95.77 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00189/0.00189, allocations: 279.8 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001684, allocations: 83.86 kB / 0.6885 GB, free: 3.801 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4504, allocations: 81.29 MB / 0.7679 GB, free: 27.61 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002602/0.453, allocations: 1.545 MB / 0.7694 GB, free: 26.06 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.4539, allocations: 435.4 kB / 0.7699 GB, free: 25.63 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.454, allocations: 0 / 0.7699 GB, free: 25.63 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.4542, allocations: 7.922 kB / 0.7699 GB, free: 25.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.4543, allocations: 24.22 kB / 0.7699 GB, free: 25.6 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.4549, allocations: 218 kB / 0.7701 GB, free: 25.39 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.4551, allocations: 287.9 kB / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.4552, allocations: 15.98 kB / 0.7704 GB, free: 25.09 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.4554, allocations: 210.3 kB / 0.7706 GB, free: 24.89 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.4556, allocations: 119.6 kB / 0.7707 GB, free: 24.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.4557, allocations: 8 kB / 0.7707 GB, free: 24.76 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.4557, allocations: 15.94 kB / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.4559, allocations: 79.7 kB / 0.7708 GB, free: 24.67 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.456, allocations: 119.4 kB / 0.7709 GB, free: 24.55 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.4562, allocations: 285.7 kB / 0.7712 GB, free: 24.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4563, allocations: 8 kB / 0.7712 GB, free: 24.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4563, allocations: 0 / 0.7712 GB, free: 24.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.4563, allocations: 0 / 0.7712 GB, free: 24.27 MB / 458.7 MB 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.001048/0.4573, allocations: 0.692 MB / 0.7719 GB, free: 23.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4574, allocations: 8.031 kB / 0.7719 GB, free: 23.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.4575, allocations: 31.72 kB / 0.7719 GB, free: 23.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.4578, allocations: 270.1 kB / 0.7722 GB, free: 23.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.4578, allocations: 4 kB / 0.7722 GB, free: 23.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.4579, allocations: 27.98 kB / 0.7722 GB, free: 23.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.4581, allocations: 145.5 kB / 0.7723 GB, free: 22.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4582, allocations: 3.938 kB / 0.7723 GB, free: 22.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.4582, allocations: 0 / 0.7723 GB, free: 22.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4582, allocations: 4 kB / 0.7723 GB, free: 22.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.4583, allocations: 43.97 kB / 0.7724 GB, free: 22.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.4586, allocations: 309.4 kB / 0.7727 GB, free: 22.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.4588, allocations: 130.6 kB / 0.7728 GB, free: 22.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.459, allocations: 58.34 kB / 0.7729 GB, free: 22.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.459, allocations: 3.984 kB / 0.7729 GB, free: 22.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.4594, allocations: 232.8 kB / 0.7731 GB, free: 22.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.4594, allocations: 0 / 0.7731 GB, free: 22.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004788/0.4599, allocations: 270.6 kB / 0.7733 GB, free: 21.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.4599, allocations: 59.34 kB / 0.7734 GB, free: 21.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.4601, allocations: 290.9 kB / 0.7737 GB, free: 21.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.4602, allocations: 41.69 kB / 0.7737 GB, free: 21.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.4602, allocations: 93.08 kB / 0.7738 GB, free: 21.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.4603, allocations: 51.44 kB / 0.7738 GB, free: 21.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.4604, allocations: 109.7 kB / 0.774 GB, free: 21.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.4605, allocations: 318.8 kB / 0.7743 GB, free: 20.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.4607, allocations: 92.17 kB / 0.7743 GB, free: 20.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.4609, allocations: 154.2 kB / 0.7745 GB, free: 20.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.4611, allocations: 239 kB / 0.7747 GB, free: 20.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4611, allocations: 4 kB / 0.7747 GB, free: 20.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005428/0.4617, allocations: 421.8 kB / 0.7751 GB, free: 19.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.715e-05/0.4617, allocations: 79.38 kB / 0.7752 GB, free: 19.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4617, allocations: 4 kB / 0.7752 GB, free: 19.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4618, allocations: 3.938 kB / 0.7752 GB, free: 19.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.4619, allocations: 27.92 kB / 0.7752 GB, free: 19.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.4619, allocations: 3.938 kB / 0.7752 GB, free: 19.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.4624, allocations: 63.98 kB / 0.7753 GB, free: 19.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.4625, allocations: 59.97 kB / 0.7754 GB, free: 19.67 MB / 458.7 MB 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.0001438/0.4626, allocations: 171.9 kB / 0.7755 GB, free: 19.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.4627, allocations: 23.72 kB / 0.7755 GB, free: 19.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.4627, allocations: 34.25 kB / 0.7756 GB, free: 19.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4627, allocations: 3.938 kB / 0.7756 GB, free: 19.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4628, allocations: 4 kB / 0.7756 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.4628, allocations: 3.984 kB / 0.7756 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.4635, allocations: 0.5617 MB / 0.7761 GB, free: 18.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4635, allocations: 0 / 0.7761 GB, free: 18.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.4635, allocations: 4 kB / 0.7761 GB, free: 18.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4636, allocations: 4 kB / 0.7761 GB, free: 18.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.4636, allocations: 11.97 kB / 0.7762 GB, free: 18.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4636, allocations: 4 kB / 0.7762 GB, free: 18.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4636, allocations: 0 / 0.7762 GB, free: 18.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.4642, allocations: 0.9408 MB / 0.7771 GB, free: 17.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.4643, allocations: 152.7 kB / 0.7772 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.4644, allocations: 8 kB / 0.7772 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.4646, allocations: 11.98 kB / 0.7772 GB, free: 17.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.4647, allocations: 11.98 kB / 0.7773 GB, free: 17.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.4647, allocations: 31.98 kB / 0.7773 GB, free: 17.56 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.4648, allocations: 217.9 kB / 0.7775 GB, free: 17.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.4648, allocations: 0 / 0.7775 GB, free: 17.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.4652, allocations: 55.92 kB / 0.7775 GB, free: 17.29 MB / 458.7 MB 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.0001204/0.4654, allocations: 111.2 kB / 0.7777 GB, free: 17.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.4658, allocations: 342.5 kB / 0.778 GB, free: 16.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4658, allocations: 4.312 kB / 0.778 GB, free: 16.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4659, allocations: 79.94 kB / 0.7781 GB, free: 16.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.4663, allocations: 23.12 kB / 0.7781 GB, free: 16.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.467, allocations: 0.6112 MB / 0.7787 GB, free: 16.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.4673, allocations: 0.7477 MB / 0.7794 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.4674, allocations: 33.44 kB / 0.7794 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.4675, allocations: 35.41 kB / 0.7795 GB, free: 15.22 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4675, allocations: 0 / 0.7795 GB, free: 15.22 MB / 458.7 MB Notification: Performance of Templates: time 0.006647/0.4742, allocations: 4.151 MB / 0.7835 GB, free: 11.09 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)