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.001126/0.001125, allocations: 108.9 kB / 16.27 MB, free: 6.004 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.001154/0.001154, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7957/0.7957, allocations: 126.4 MB / 417.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.88 kB / 0.4953 GB, free: 3.074 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4091, allocations: 78.78 MB / 0.5723 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002407/0.4115, allocations: 1.498 MB / 0.5737 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.4126, allocations: 0.5438 MB / 0.5743 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.4127, allocations: 2.031 kB / 0.5743 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.181e-05/0.4128, allocations: 10.27 kB / 0.5743 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.4129, allocations: 27.09 kB / 0.5743 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.4137, allocations: 312 kB / 0.5746 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.4143, allocations: 0.4985 MB / 0.5751 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.4143, allocations: 11.27 kB / 0.5751 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.4147, allocations: 270.4 kB / 0.5753 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.415, allocations: 135.3 kB / 0.5755 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.905e-05/0.4151, allocations: 27.69 kB / 0.5755 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.4152, allocations: 27.09 kB / 0.5755 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.4154, allocations: 115 kB / 0.5756 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.4155, allocations: 186.5 kB / 0.5758 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.4159, allocations: 428.5 kB / 0.5762 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4159, allocations: 5.375 kB / 0.5762 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4159, allocations: 3.188 kB / 0.5762 GB, free: 29.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4159, allocations: 0 / 0.5762 GB, free: 29.01 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.0009849/0.4169, allocations: 0.8697 MB / 0.5771 GB, free: 28.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.417, allocations: 9.625 kB / 0.5771 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.4171, allocations: 50.72 kB / 0.5771 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.4174, allocations: 309.1 kB / 0.5774 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.4174, allocations: 20.14 kB / 0.5774 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.4175, allocations: 30.45 kB / 0.5775 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009877/0.4185, allocations: 211 kB / 0.5777 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4185, allocations: 0.7188 kB / 0.5777 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.4186, allocations: 6.125 kB / 0.5777 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.4186, allocations: 1.562 kB / 0.5777 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/0.4194, allocations: 104.9 kB / 0.5778 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.4197, allocations: 396.2 kB / 0.5782 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.4208, allocations: 182.1 kB / 0.5783 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007967/0.4216, allocations: 107.7 kB / 0.5784 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.4217, allocations: 2.438 kB / 0.5784 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009847/0.4227, allocations: 219.9 kB / 0.5787 GB, free: 27.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.4227, allocations: 0.5938 kB / 0.5787 GB, free: 27.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002712/0.4254, allocations: 489.6 kB / 0.5791 GB, free: 26.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.4255, allocations: 65.08 kB / 0.5792 GB, free: 26.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.4258, allocations: 410.4 kB / 0.5796 GB, free: 26.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.4259, allocations: 44.94 kB / 0.5796 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.4259, allocations: 95.58 kB / 0.5797 GB, free: 26.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.426, allocations: 38.02 kB / 0.5797 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.4262, allocations: 132 kB / 0.5799 GB, free: 26.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.4263, allocations: 323 kB / 0.5802 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.4265, allocations: 118.6 kB / 0.5803 GB, free: 25.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.4268, allocations: 176.6 kB / 0.5805 GB, free: 25.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.4271, allocations: 272.2 kB / 0.5807 GB, free: 25.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4271, allocations: 1.938 kB / 0.5807 GB, free: 25.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000736/0.4279, allocations: 491.2 kB / 0.5812 GB, free: 25.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.4279, allocations: 92.69 kB / 0.5813 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4279, allocations: 5.188 kB / 0.5813 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.428, allocations: 7 kB / 0.5813 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4281, allocations: 23.56 kB / 0.5813 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4281, allocations: 2.844 kB / 0.5813 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/0.4287, allocations: 65.08 kB / 0.5814 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.4288, allocations: 61.23 kB / 0.5814 GB, free: 25.24 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.0001985/0.429, allocations: 190.7 kB / 0.5816 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.4291, allocations: 41.25 kB / 0.5817 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.4291, allocations: 39.88 kB / 0.5817 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4291, allocations: 2.938 kB / 0.5817 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4291, allocations: 2.25 kB / 0.5817 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4292, allocations: 0 / 0.5817 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.4312, allocations: 0.7513 MB / 0.5824 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4313, allocations: 3.938 kB / 0.5824 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.4313, allocations: 5.031 kB / 0.5824 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4313, allocations: 0.9062 kB / 0.5824 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.4313, allocations: 27.56 kB / 0.5825 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4314, allocations: 6.719 kB / 0.5825 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4314, allocations: 0 / 0.5825 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.4331, allocations: 475.9 kB / 0.5829 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.4333, allocations: 195.9 kB / 0.5831 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/0.4334, allocations: 20.78 kB / 0.5831 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.4339, allocations: 30.83 kB / 0.5832 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.434, allocations: 4.812 kB / 0.5832 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/0.434, allocations: 61.12 kB / 0.5832 GB, free: 24.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002643/0.4343, allocations: 294.4 kB / 0.5835 GB, free: 23.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4343, allocations: 0 / 0.5835 GB, free: 23.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003923/0.4347, allocations: 67.45 kB / 0.5836 GB, free: 23.85 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.0001273/0.4349, allocations: 122.3 kB / 0.5837 GB, free: 23.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.4363, allocations: 451.3 kB / 0.5841 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4363, allocations: 0 / 0.5841 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008047/0.4371, allocations: 122.9 kB / 0.5842 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.4375, allocations: 32.19 kB / 0.5843 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.4389, allocations: 0.5507 MB / 0.5848 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.4391, allocations: 0.7722 MB / 0.5856 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.872e-05/0.4392, allocations: 15.52 kB / 0.5856 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.4392, allocations: 13.88 kB / 0.5856 GB, free: 22.32 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4392, allocations: 1.031 kB / 0.5856 GB, free: 22.32 MB / 446.1 MB Notification: Performance of Templates: time 0.008797/0.448, allocations: 4.945 MB / 0.5904 GB, free: 19.09 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)