Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009784/0.0009784, allocations: 175.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009065/0.0009068, allocations: 86.36 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 5.812 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2558, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001719/0.2576, allocations: 1.214 MB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009335/0.2585, allocations: 447.4 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.2586, allocations: 0 / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.2587, allocations: 7.922 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.2589, allocations: 24.3 kB / 0.8984 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.2596, allocations: 221.9 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.2599, allocations: 291.9 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.105e-05/0.2599, allocations: 11.94 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.2603, allocations: 210.3 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.2605, allocations: 123.5 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.545e-05/0.2606, allocations: 8 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.023e-05/0.2607, allocations: 15.94 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.2608, allocations: 75.77 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.261, allocations: 123.3 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.2612, allocations: 195.6 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2612, allocations: 0 / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2612, allocations: 0 / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.2612, allocations: 0 / 0.8996 GB, free: 65.23 MB / 0.6042 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.001053/0.2623, allocations: 0.6142 MB / 0.9002 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2623, allocations: 12.03 kB / 0.9002 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.2625, allocations: 35.62 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.2628, allocations: 266.2 kB / 0.9005 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.2628, allocations: 8 kB / 0.9005 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.2629, allocations: 20 kB / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.2632, allocations: 149.4 kB / 0.9007 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2632, allocations: 0 / 0.9007 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.2632, allocations: 4 kB / 0.9007 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2632, allocations: 0 / 0.9007 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.2634, allocations: 50.84 kB / 0.9007 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.2637, allocations: 317.3 kB / 0.901 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.2639, allocations: 126.6 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.2641, allocations: 60.83 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.2641, allocations: 384 / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/0.2645, allocations: 227.5 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.2645, allocations: 0 / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005091/0.265, allocations: 267.6 kB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.2651, allocations: 63.39 kB / 0.9017 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.2653, allocations: 298.8 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.2653, allocations: 37.7 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.2654, allocations: 97.12 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.2655, allocations: 47.44 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.2655, allocations: 33.7 kB / 0.9022 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.745e-05/0.2656, allocations: 326.8 kB / 0.9025 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.2658, allocations: 92.11 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.266, allocations: 150.4 kB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.2662, allocations: 246.9 kB / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2662, allocations: 0 / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005528/0.2668, allocations: 407.9 kB / 0.9034 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.2669, allocations: 79.38 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2669, allocations: 4 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2669, allocations: 0 / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.2671, allocations: 27.92 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2671, allocations: 4.125 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/0.2677, allocations: 75.84 kB / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.2677, allocations: 59.92 kB / 0.9036 GB, free: 60.77 MB / 0.6042 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.0001956/0.2679, allocations: 168 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.268, allocations: 27.62 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.2681, allocations: 30.25 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2681, allocations: 4 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2681, allocations: 0 / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.2681, allocations: 3.984 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007727/0.2689, allocations: 0.5606 MB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2689, allocations: 4 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.269, allocations: 15.94 kB / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.269, allocations: 0 / 0.9044 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.269, allocations: 15.97 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.269, allocations: 3.938 kB / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.269, allocations: 0 / 0.9044 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.2694, allocations: 321.3 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.2695, allocations: 152.7 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.2696, allocations: 8 kB / 0.9049 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.2698, allocations: 19.92 kB / 0.9049 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.2699, allocations: 19.97 kB / 0.9049 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.2699, allocations: 27.98 kB / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001662/0.2701, allocations: 209.9 kB / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2701, allocations: 0 / 0.9052 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002767/0.2704, allocations: 48 kB / 0.9052 GB, free: 59.06 MB / 0.6042 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.0001649/0.2706, allocations: 127.2 kB / 0.9053 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004953/0.2711, allocations: 342.5 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2711, allocations: 0 / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.2712, allocations: 71.91 kB / 0.9057 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.2716, allocations: 22.08 kB / 0.9057 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.2724, allocations: 495.5 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.2726, allocations: 0.7475 MB / 0.9069 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2727, allocations: 39.41 kB / 0.907 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2727, allocations: 0 / 0.907 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.004287/0.277, allocations: 2.964 MB / 0.9099 GB, free: 54.19 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)