Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.563/2.563, allocations: 287.5 MB / 303.2 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 170.1 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009404/0.0009398, allocations: 100.4 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004949, allocations: 20.84 kB / 0.8668 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2137, allocations: 115.3 MB / 0.9793 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9511/1.165, allocations: 139.9 MB / 1.116 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.165, allocations: 74.86 kB / 1.116 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02871/1.194, allocations: 5.206 MB / 1.121 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.526e-06/1.194, allocations: 0 / 1.121 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.952e-05/1.194, allocations: 8.031 kB / 1.121 GB, free: 31.29 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00189/1.196, allocations: 0.6435 MB / 1.122 GB, free: 30.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.196, allocations: 11.09 kB / 1.122 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/1.196, allocations: 39.84 kB / 1.122 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/1.197, allocations: 276.5 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/1.197, allocations: 15.09 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.197, allocations: 26.05 kB / 1.122 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/1.198, allocations: 168 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.198, allocations: 3.141 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/1.198, allocations: 11.19 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/1.198, allocations: 3.938 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/1.198, allocations: 62.64 kB / 1.122 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/1.2, allocations: 0.5855 MB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/1.2, allocations: 142.7 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/1.201, allocations: 61.91 kB / 1.123 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/1.201, allocations: 7.844 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000591/1.201, allocations: 222.9 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.096e-06/1.201, allocations: 0 / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0009612/1.202, allocations: 284 kB / 1.124 GB, free: 29.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/1.202, allocations: 66 kB / 1.124 GB, free: 29.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/1.203, allocations: 319 kB / 1.124 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/1.203, allocations: 36.02 kB / 1.124 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.203, allocations: 101.9 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/1.203, allocations: 42.31 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/1.203, allocations: 10.31 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.203, allocations: 327.9 kB / 1.124 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/1.204, allocations: 117.9 kB / 1.125 GB, free: 29.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/1.204, allocations: 180 kB / 1.125 GB, free: 29.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/1.205, allocations: 262.6 kB / 1.125 GB, free: 29.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.205, allocations: 0 / 1.125 GB, free: 29.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001247/1.206, allocations: 457.5 kB / 1.125 GB, free: 29.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.206, allocations: 74.97 kB / 1.125 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.206, allocations: 0 / 1.125 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.206, allocations: 8.062 kB / 1.125 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/1.207, allocations: 31.8 kB / 1.126 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.207, allocations: 2.672 kB / 1.126 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/1.207, allocations: 49.22 kB / 1.126 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.207, allocations: 54.58 kB / 1.126 GB, free: 28.95 MB / 0.698 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0003793/1.208, allocations: 194.4 kB / 1.126 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/1.208, allocations: 27.09 kB / 1.126 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/1.208, allocations: 34.39 kB / 1.126 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/1.208, allocations: 3.906 kB / 1.126 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.208, allocations: 0 / 1.126 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.208, allocations: 0 / 1.126 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.209, allocations: 0.5934 MB / 1.126 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.209, allocations: 0 / 1.126 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.437e-05/1.209, allocations: 11.84 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.209, allocations: 3.812 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/1.209, allocations: 9.453 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.209, allocations: 0 / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.209, allocations: 3.812 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/1.21, allocations: 340.1 kB / 1.127 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/1.21, allocations: 182.3 kB / 1.127 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/1.21, allocations: 18.48 kB / 1.127 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/1.211, allocations: 10.97 kB / 1.127 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/1.211, allocations: 20.75 kB / 1.127 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/1.211, allocations: 32.39 kB / 1.127 GB, free: 28.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003082/1.211, allocations: 222.7 kB / 1.127 GB, free: 28.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.211, allocations: 0 / 1.127 GB, free: 28.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006018/1.212, allocations: 68.98 kB / 1.127 GB, free: 28.12 MB / 0.698 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0002423/1.212, allocations: 122.3 kB / 1.127 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.213, allocations: 383.1 kB / 1.128 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.213, allocations: 0 / 1.128 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/1.213, allocations: 77.97 kB / 1.128 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/1.214, allocations: 27.66 kB / 1.128 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/1.215, allocations: 496.7 kB / 1.128 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/1.216, allocations: 0.7575 MB / 1.129 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002611/1.216, allocations: 41.12 kB / 1.129 GB, free: 26.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/1.216, allocations: 39.56 kB / 1.129 GB, free: 26.87 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/1.216, allocations: 0 / 1.129 GB, free: 26.87 MB / 0.698 GB Notification: Performance of Templates: time 0.01202/1.228, allocations: 4.756 MB / 1.134 GB, free: 25.75 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)