Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.898/3.898, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.002293/0.002292, allocations: 179.1 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.995/3.995, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001544/0.001544, allocations: 93.92 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007266/0.0007271, allocations: 8.531 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3382, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3461/0.6845, allocations: 133.4 MB / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/0.6849, allocations: 71.95 kB / 1.03 GB, free: 11.89 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.03672/0.7217, allocations: 4.492 MB / 1.034 GB, free: 7.395 MB / 0.6824 GB Notification: Performance of FrontEnd: time 7.073e-06/0.7218, allocations: 0 / 1.034 GB, free: 7.395 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.121e-05/0.7218, allocations: 7.938 kB / 1.034 GB, free: 7.387 MB / 0.6824 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.002188/0.724, allocations: 0.6143 MB / 1.035 GB, free: 6.695 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.799e-05/0.7241, allocations: 8.031 kB / 1.035 GB, free: 6.688 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.7245, allocations: 32.66 kB / 1.035 GB, free: 6.656 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.7253, allocations: 255.8 kB / 1.035 GB, free: 6.371 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.999e-05/0.7254, allocations: 16.38 kB / 1.035 GB, free: 6.355 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.7256, allocations: 20.3 kB / 1.035 GB, free: 6.336 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.7263, allocations: 146.1 kB / 1.035 GB, free: 6.188 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.7264, allocations: 192 / 1.035 GB, free: 6.188 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/0.7264, allocations: 3.938 kB / 1.035 GB, free: 6.184 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.7265, allocations: 4 kB / 1.035 GB, free: 6.18 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.7268, allocations: 51.97 kB / 1.035 GB, free: 6.129 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/0.7277, allocations: 329.2 kB / 1.036 GB, free: 5.758 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.7285, allocations: 134.6 kB / 1.036 GB, free: 5.617 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.7288, allocations: 52.84 kB / 1.036 GB, free: 5.562 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.7289, allocations: 0 / 1.036 GB, free: 5.562 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.7299, allocations: 221.6 kB / 1.036 GB, free: 5.336 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=18): time 3.958e-06/0.7299, allocations: 0 / 1.036 GB, free: 5.336 MB / 0.6824 GB Notification: Performance of matching and sorting (n=18): time 0.001523/0.7314, allocations: 265.1 kB / 1.036 GB, free: 5.07 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.7316, allocations: 63.31 kB / 1.036 GB, free: 4.996 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007115/0.7323, allocations: 291 kB / 1.037 GB, free: 4.695 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.7325, allocations: 37.7 kB / 1.037 GB, free: 4.652 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.7327, allocations: 97.12 kB / 1.037 GB, free: 4.555 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.7328, allocations: 43.45 kB / 1.037 GB, free: 4.512 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.884e-05/0.7329, allocations: 11.98 kB / 1.037 GB, free: 4.5 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.7332, allocations: 318.8 kB / 1.037 GB, free: 4.18 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007999/0.734, allocations: 100.2 kB / 1.037 GB, free: 4.078 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/0.7348, allocations: 158.3 kB / 1.037 GB, free: 3.902 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.7354, allocations: 157.4 kB / 1.038 GB, free: 3.738 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.7355, allocations: 0 / 1.038 GB, free: 3.738 MB / 0.6824 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001994/0.7375, allocations: 420.6 kB / 1.038 GB, free: 3.309 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.7377, allocations: 77.3 kB / 1.038 GB, free: 3.223 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/0.7377, allocations: 7.984 kB / 1.038 GB, free: 3.215 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.442e-05/0.7378, allocations: 7.922 kB / 1.038 GB, free: 3.207 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.7382, allocations: 31.92 kB / 1.038 GB, free: 3.176 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.7382, allocations: 3.938 kB / 1.038 GB, free: 3.172 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009381/0.7392, allocations: 47.88 kB / 1.038 GB, free: 3.125 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.7394, allocations: 47.98 kB / 1.038 GB, free: 3.078 MB / 0.6824 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004974/0.7399, allocations: 176 kB / 1.038 GB, free: 2.898 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.74, allocations: 31.59 kB / 1.038 GB, free: 2.867 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.7402, allocations: 30.25 kB / 1.038 GB, free: 2.84 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.7402, allocations: 7.938 kB / 1.038 GB, free: 2.832 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.7402, allocations: 3.938 kB / 1.038 GB, free: 2.828 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.7402, allocations: 0 / 1.038 GB, free: 2.828 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.7421, allocations: 0.5568 MB / 1.039 GB, free: 2.215 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.7422, allocations: 3.938 kB / 1.039 GB, free: 2.211 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.7423, allocations: 15.92 kB / 1.039 GB, free: 2.195 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.7423, allocations: 0 / 1.039 GB, free: 2.195 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.7424, allocations: 11.98 kB / 1.039 GB, free: 2.184 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.7424, allocations: 4 kB / 1.039 GB, free: 2.18 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7425, allocations: 0 / 1.039 GB, free: 2.18 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.7435, allocations: 312.5 kB / 1.039 GB, free: 1.859 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.7439, allocations: 160.7 kB / 1.039 GB, free: 1.684 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.7441, allocations: 11.98 kB / 1.039 GB, free: 1.672 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.7445, allocations: 8 kB / 1.039 GB, free: 1.664 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7447, allocations: 19.97 kB / 1.039 GB, free: 1.645 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-05/0.7448, allocations: 23.98 kB / 1.039 GB, free: 1.621 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0004712/0.7453, allocations: 213.9 kB / 1.04 GB, free: 1.414 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5.21e-07/0.7453, allocations: 0 / 1.04 GB, free: 1.414 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.001029/0.7463, allocations: 48 kB / 1.04 GB, free: 1.367 MB / 0.6824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003335/0.7467, allocations: 130.1 kB / 1.04 GB, free: 1.23 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.7483, allocations: 359.2 kB / 1.04 GB, free: 0.8555 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.7484, allocations: 0 / 1.04 GB, free: 0.8555 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.7488, allocations: 67.95 kB / 1.04 GB, free: 0.7891 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.7496, allocations: 30.38 kB / 1.04 GB, free: 0.7578 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.7512, allocations: 443.7 kB / 1.041 GB, free: 304 kB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.7519, allocations: 0.7399 MB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004024/0.7523, allocations: 45.05 kB / 1.041 GB, free: 15.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.7526, allocations: 39.42 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of SimCode: time 1.943e-06/0.7527, allocations: 0 / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of Templates: time 0.01849/0.7712, allocations: 4.295 MB / 1.046 GB, free: 11.15 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)