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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 110.5 kB / 16.37 MB, free: 6.344 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.001208/0.001208, allocations: 192.6 kB / 17.3 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002061, allocations: 292.4 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8925/0.8925, allocations: 169.2 MB / 0.4989 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 91.86 kB / 0.682 GB, free: 7.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4503, allocations: 86.98 MB / 0.767 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002513/0.4528, allocations: 1.484 MB / 0.7684 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008735/0.4537, allocations: 433.1 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.4538, allocations: 4 kB / 0.7688 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.494e-05/0.4539, allocations: 7.875 kB / 0.7688 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.736e-05/0.454, allocations: 28.22 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.4547, allocations: 246.4 kB / 0.7691 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.455, allocations: 327.5 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.4551, allocations: 15.92 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.4554, allocations: 191.7 kB / 0.7696 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.4556, allocations: 112.7 kB / 0.7697 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.4556, allocations: 20 kB / 0.7697 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.718e-05/0.4557, allocations: 20 kB / 0.7698 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.4558, allocations: 83.77 kB / 0.7698 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.4559, allocations: 131.3 kB / 0.77 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.4562, allocations: 289.4 kB / 0.7702 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4562, allocations: 4 kB / 0.7702 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4562, allocations: 0 / 0.7702 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4563, allocations: 0 / 0.7702 GB, free: 0.6133 MB / 0.5294 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.001025/0.4573, allocations: 0.7422 MB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.4573, allocations: 8.031 kB / 0.771 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.855e-05/0.4574, allocations: 36.64 kB / 0.771 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.4578, allocations: 259.5 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.4578, allocations: 20.36 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.4579, allocations: 23.94 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009373/0.4588, allocations: 197.4 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4589, allocations: 4 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.4589, allocations: 0 / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4589, allocations: 0 / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.4596, allocations: 99.86 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.4599, allocations: 321.3 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009575/0.4609, allocations: 174.4 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/0.4616, allocations: 104.8 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.4616, allocations: 3.984 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000885/0.4625, allocations: 215.1 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.4626, allocations: 0 / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002374/0.4649, allocations: 452.4 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.465, allocations: 59.39 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.4653, allocations: 290.9 kB / 0.7731 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.4653, allocations: 37.7 kB / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.4654, allocations: 93.12 kB / 0.7733 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.4654, allocations: 35.5 kB / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.4656, allocations: 105.5 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4657, allocations: 314.8 kB / 0.7737 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.4659, allocations: 83.94 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.4661, allocations: 136.3 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.4664, allocations: 239.3 kB / 0.7741 GB, free: 12.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4664, allocations: 3.938 kB / 0.7741 GB, free: 12.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005953/0.467, allocations: 396.7 kB / 0.7745 GB, free: 11.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.964e-05/0.4671, allocations: 81.88 kB / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4671, allocations: 0 / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4671, allocations: 4 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.4673, allocations: 19.92 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4673, allocations: 4 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.4677, allocations: 55.8 kB / 0.7747 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.4678, allocations: 48.05 kB / 0.7747 GB, free: 11.7 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: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001775/0.468, allocations: 171.9 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.468, allocations: 23.72 kB / 0.7749 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.4681, allocations: 34.28 kB / 0.7749 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4681, allocations: 0 / 0.7749 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4681, allocations: 0 / 0.7749 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4681, allocations: 0 / 0.7749 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.4701, allocations: 0.6974 MB / 0.7756 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4701, allocations: 4 kB / 0.7756 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.4701, allocations: 7.984 kB / 0.7756 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4701, allocations: 0 / 0.7756 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.4702, allocations: 15.97 kB / 0.7756 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4702, allocations: 4 kB / 0.7756 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4702, allocations: 3.938 kB / 0.7756 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.4718, allocations: 451.4 kB / 0.7761 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.4719, allocations: 160.6 kB / 0.7762 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.472, allocations: 8 kB / 0.7762 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.4724, allocations: 31.97 kB / 0.7763 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.4725, allocations: 7.984 kB / 0.7763 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.4726, allocations: 51.91 kB / 0.7763 GB, free: 9.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001816/0.4727, allocations: 209.9 kB / 0.7765 GB, free: 9.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4727, allocations: 0 / 0.7765 GB, free: 9.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003035/0.4731, allocations: 48 kB / 0.7766 GB, free: 9.691 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: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001554/0.4732, allocations: 120.1 kB / 0.7767 GB, free: 9.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.4743, allocations: 377.9 kB / 0.777 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4743, allocations: 4.375 kB / 0.7771 GB, free: 9.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007052/0.4751, allocations: 115.9 kB / 0.7772 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.4754, allocations: 22.52 kB / 0.7772 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.4766, allocations: 461.5 kB / 0.7776 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.4769, allocations: 0.7477 MB / 0.7784 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.477, allocations: 15.44 kB / 0.7784 GB, free: 7.762 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.477, allocations: 0 / 0.7784 GB, free: 7.762 MB / 0.545 GB Notification: Performance of Templates: time 0.004144/0.4811, allocations: 2.833 MB / 0.7811 GB, free: 4.961 MB / 0.545 GB 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)