Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001297/0.001297, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001651/0.001651, allocations: 188.9 kB / 16.25 MB, free: 6.148 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 59.27 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002556/0.3239, allocations: 1.575 MB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3251, allocations: 0.5421 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.3252, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.3253, allocations: 7.922 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.3255, allocations: 31.84 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008793/0.3264, allocations: 283 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.327, allocations: 0.4994 MB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.951e-05/0.327, allocations: 11.97 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/0.3275, allocations: 347 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.3278, allocations: 163.4 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.421e-05/0.3279, allocations: 24 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.328, allocations: 28 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.3282, allocations: 119.5 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.3284, allocations: 198.8 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.3289, allocations: 422.9 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.3289, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3289, allocations: 4 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.3289, allocations: 0 / 1.072 GB, free: 6.582 MB / 0.8262 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.001459/0.3304, allocations: 0.8665 MB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3305, allocations: 8.031 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.3306, allocations: 52.47 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.331, allocations: 310.2 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.331, allocations: 16.36 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.3311, allocations: 32.36 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.3322, allocations: 210 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3322, allocations: 8.109 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.3322, allocations: 7.922 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3322, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.333, allocations: 99.92 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.3334, allocations: 389.2 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3345, allocations: 193.3 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/0.3353, allocations: 108.8 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.3353, allocations: 4.375 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000992/0.3363, allocations: 223.1 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.3363, allocations: 0 / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002662/0.339, allocations: 486.8 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3391, allocations: 67.41 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.3395, allocations: 409.9 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.3396, allocations: 41.7 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.3397, allocations: 89.44 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.3397, allocations: 43.45 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.3399, allocations: 129.3 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3401, allocations: 322.8 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.3403, allocations: 119.9 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.3407, allocations: 178.7 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.3411, allocations: 283.1 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3411, allocations: 0 / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008696/0.342, allocations: 496.6 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-05/0.3421, allocations: 91.31 kB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3421, allocations: 0 / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3421, allocations: 4 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.3423, allocations: 28.11 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3423, allocations: 0 / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.3429, allocations: 59.8 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.836e-05/0.343, allocations: 63.97 kB / 1.077 GB, free: 0.9023 MB / 0.8262 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.0002599/0.3433, allocations: 192 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.3433, allocations: 43.47 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.3435, allocations: 43.73 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3435, allocations: 4 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3435, allocations: 0 / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3435, allocations: 0 / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.3459, allocations: 0.7456 MB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3459, allocations: 0 / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.346, allocations: 7.984 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.346, allocations: 7.984 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.346, allocations: 19.98 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.346, allocations: 0 / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.3461, allocations: 7.969 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.348, allocations: 482.6 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.3482, allocations: 192.5 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.3483, allocations: 19.98 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000513/0.3489, allocations: 31.91 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.349, allocations: 11.98 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.349, allocations: 59.97 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003032/0.3493, allocations: 295.1 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3493, allocations: 0 / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004524/0.3498, allocations: 60 kB / 1.079 GB, free: 14.61 MB / 0.8419 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.0002081/0.35, allocations: 125.6 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.3514, allocations: 444.4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3514, allocations: 0 / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.3523, allocations: 120.2 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3527, allocations: 31.2 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.3544, allocations: 0.6685 MB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3548, allocations: 0.7746 MB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.386e-05/0.3549, allocations: 13.09 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.3549, allocations: 15.42 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of SimCode: time 2.044e-06/0.3549, allocations: 0 / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of Templates: time 0.00991/0.3649, allocations: 5.121 MB / 1.086 GB, free: 7.129 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)