Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001241/0.001241, allocations: 107.3 kB / 15.99 MB, free: 5.906 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.001087/0.001087, allocations: 187.5 kB / 16.9 MB, free: 5.758 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7416/0.7416, allocations: 122.9 MB / 413.6 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 60.14 kB / 0.4906 GB, free: 7.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.426, allocations: 77.93 MB / 0.5667 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002696/0.4287, allocations: 1.562 MB / 0.5682 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.43, allocations: 0.5392 MB / 0.5687 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.43, allocations: 0 / 0.5687 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.4301, allocations: 7.031 kB / 0.5687 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.4303, allocations: 26.48 kB / 0.5688 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.431, allocations: 296.2 kB / 0.569 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.4316, allocations: 0.5014 MB / 0.5695 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.485e-05/0.4317, allocations: 6.188 kB / 0.5695 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004786/0.4321, allocations: 338.9 kB / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002823/0.4324, allocations: 163.4 kB / 0.57 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.013e-05/0.4325, allocations: 29.31 kB / 0.5701 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.4326, allocations: 30.41 kB / 0.5701 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.4328, allocations: 128 kB / 0.5702 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.433, allocations: 192.1 kB / 0.5704 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.4335, allocations: 426.2 kB / 0.5708 GB, free: 30.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4336, allocations: 0 / 0.5708 GB, free: 30.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4336, allocations: 0.5 kB / 0.5708 GB, free: 30.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4336, allocations: 0 / 0.5708 GB, free: 30.4 MB / 446.1 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.001224/0.4348, allocations: 0.8724 MB / 0.5716 GB, free: 29.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4349, allocations: 14.88 kB / 0.5717 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.435, allocations: 50.38 kB / 0.5717 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.4353, allocations: 308.2 kB / 0.572 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.4354, allocations: 17.38 kB / 0.572 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.4355, allocations: 31.38 kB / 0.572 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.4365, allocations: 207.9 kB / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4365, allocations: 2.047 kB / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/0.4366, allocations: 6.016 kB / 0.5723 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4366, allocations: 2.438 kB / 0.5723 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.4374, allocations: 102.1 kB / 0.5724 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.4378, allocations: 392.8 kB / 0.5727 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.4389, allocations: 177.8 kB / 0.5729 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/0.4397, allocations: 113.7 kB / 0.573 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.4398, allocations: 3.297 kB / 0.573 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.4408, allocations: 229.8 kB / 0.5732 GB, free: 28.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.4408, allocations: 0 / 0.5732 GB, free: 28.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002681/0.4435, allocations: 488.9 kB / 0.5737 GB, free: 28.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.4436, allocations: 64.41 kB / 0.5738 GB, free: 28.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.444, allocations: 411.3 kB / 0.5741 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/0.4441, allocations: 40.39 kB / 0.5742 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.4442, allocations: 95.59 kB / 0.5743 GB, free: 28.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.4442, allocations: 37.19 kB / 0.5743 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.4445, allocations: 139.1 kB / 0.5744 GB, free: 28.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.4445, allocations: 321.4 kB / 0.5748 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.4448, allocations: 117 kB / 0.5749 GB, free: 27.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.4451, allocations: 169.2 kB / 0.575 GB, free: 27.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.4455, allocations: 278.9 kB / 0.5753 GB, free: 27.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4455, allocations: 0 / 0.5753 GB, free: 27.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008146/0.4463, allocations: 499.1 kB / 0.5758 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.889e-05/0.4464, allocations: 88.25 kB / 0.5759 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4464, allocations: 2 kB / 0.5759 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4464, allocations: 2.312 kB / 0.5759 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.4466, allocations: 29.72 kB / 0.5759 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.4466, allocations: 1.984 kB / 0.5759 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.4472, allocations: 66.34 kB / 0.5759 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/0.4473, allocations: 58.59 kB / 0.576 GB, free: 27.33 MB / 446.1 MB 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.0002175/0.4475, allocations: 199.6 kB / 0.5762 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.4476, allocations: 42.55 kB / 0.5762 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.365e-05/0.4476, allocations: 36.83 kB / 0.5763 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4476, allocations: 2.75 kB / 0.5763 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.4477, allocations: 1.25 kB / 0.5763 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4477, allocations: 1.375 kB / 0.5763 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.4499, allocations: 0.7536 MB / 0.577 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4499, allocations: 0 / 0.577 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.4499, allocations: 6.344 kB / 0.577 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4499, allocations: 0.5938 kB / 0.577 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.45, allocations: 23.17 kB / 0.577 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.45, allocations: 1.938 kB / 0.577 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.45, allocations: 2.562 kB / 0.577 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.4518, allocations: 476.7 kB / 0.5775 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.452, allocations: 198.8 kB / 0.5777 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.4521, allocations: 11.64 kB / 0.5777 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.4527, allocations: 32.47 kB / 0.5777 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.4527, allocations: 6.516 kB / 0.5777 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.4528, allocations: 62.3 kB / 0.5778 GB, free: 26.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003057/0.4531, allocations: 295.5 kB / 0.5781 GB, free: 26.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4531, allocations: 0 / 0.5781 GB, free: 26.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.4535, allocations: 63.73 kB / 0.5781 GB, free: 26.25 MB / 446.1 MB 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.0001326/0.4537, allocations: 119.9 kB / 0.5783 GB, free: 26.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.455, allocations: 447 kB / 0.5787 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.455, allocations: 0 / 0.5787 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008276/0.4558, allocations: 117.6 kB / 0.5788 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.4562, allocations: 33.5 kB / 0.5788 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.4578, allocations: 0.6664 MB / 0.5795 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.458, allocations: 0.7731 MB / 0.5802 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.249e-05/0.4581, allocations: 21.2 kB / 0.5803 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.4582, allocations: 15.94 kB / 0.5803 GB, free: 24.79 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4582, allocations: 1.344 kB / 0.5803 GB, free: 24.79 MB / 446.1 MB Notification: Performance of Templates: time 0.00822/0.4664, allocations: 5.105 MB / 0.5853 GB, free: 22.01 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)