Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9742/0.9742, allocations: 177.1 MB / 204.6 MB, free: 5.137 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.917/1.917, allocations: 389.6 MB / 0.6354 GB, free: 12.36 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0.6562 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.192e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002007/0.002019, allocations: 1.78 MB / 0.777 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.003129, allocations: 0.6159 MB / 0.7776 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.003197, allocations: 4.875 kB / 0.7776 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.398e-05/0.003281, allocations: 15.8 kB / 0.7776 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.003399, allocations: 35.12 kB / 0.7776 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.00417, allocations: 380.2 kB / 0.778 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000492/0.004662, allocations: 0.6019 MB / 0.7786 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.004752, allocations: 25.92 kB / 0.7786 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.005219, allocations: 427.5 kB / 0.779 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.005455, allocations: 146.3 kB / 0.7791 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.005509, allocations: 40.62 kB / 0.7792 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.06e-05/0.005559, allocations: 44.69 kB / 0.7792 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.005647, allocations: 127.6 kB / 0.7793 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.005756, allocations: 152.2 kB / 0.7795 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.006065, allocations: 427.5 kB / 0.7799 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.006066, allocations: 0 / 0.7799 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006067, allocations: 4.531 kB / 0.7799 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.00607, allocations: 0 / 0.7799 GB, free: 0.6484 MB / 0.7292 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.0007313/0.006801, allocations: 0.7831 MB / 0.7807 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.00683, allocations: 13.53 kB / 0.7807 GB, free: 15.79 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.006906, allocations: 52.88 kB / 0.7807 GB, free: 15.74 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.007142, allocations: 244.7 kB / 0.7809 GB, free: 15.48 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.007177, allocations: 16.38 kB / 0.781 GB, free: 15.46 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.007228, allocations: 37.2 kB / 0.781 GB, free: 15.43 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.007542, allocations: 194.7 kB / 0.7812 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.00755, allocations: 192 / 0.7812 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.007569, allocations: 8.359 kB / 0.7812 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.007574, allocations: 5.281 kB / 0.7812 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.007652, allocations: 52.09 kB / 0.7812 GB, free: 15.18 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.00819, allocations: 313.9 kB / 0.7815 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.008359, allocations: 98.42 kB / 0.7816 GB, free: 14.76 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/0.008432, allocations: 41.44 kB / 0.7817 GB, free: 14.72 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.008445, allocations: 8.516 kB / 0.7817 GB, free: 14.71 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.008594, allocations: 157 kB / 0.7818 GB, free: 14.55 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.008595, allocations: 0 / 0.7818 GB, free: 14.55 MB / 0.7449 GB Notification: Performance of matching and sorting (n=16): time 0.0003058/0.008901, allocations: 206.7 kB / 0.782 GB, free: 14.36 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.008938, allocations: 63.39 kB / 0.7821 GB, free: 14.29 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.009135, allocations: 341.1 kB / 0.7824 GB, free: 13.95 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.009171, allocations: 41.69 kB / 0.7825 GB, free: 13.9 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.009234, allocations: 105.4 kB / 0.7826 GB, free: 13.79 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.009264, allocations: 47.61 kB / 0.7826 GB, free: 13.75 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.009377, allocations: 117.4 kB / 0.7827 GB, free: 13.62 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.009467, allocations: 327.8 kB / 0.783 GB, free: 13.3 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.009612, allocations: 163.3 kB / 0.7832 GB, free: 13.12 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.009758, allocations: 217.9 kB / 0.7834 GB, free: 12.88 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.009949, allocations: 254.3 kB / 0.7836 GB, free: 12.6 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.009951, allocations: 0 / 0.7836 GB, free: 12.6 MB / 0.7449 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003704/0.01032, allocations: 458.7 kB / 0.7841 GB, free: 12.12 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.01037, allocations: 89.41 kB / 0.7842 GB, free: 12.03 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01038, allocations: 5.969 kB / 0.7842 GB, free: 12.02 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.01039, allocations: 3.984 kB / 0.7842 GB, free: 12.02 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.01048, allocations: 31.92 kB / 0.7842 GB, free: 11.99 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.01048, allocations: 4 kB / 0.7842 GB, free: 11.98 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.01064, allocations: 48.48 kB / 0.7843 GB, free: 11.94 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/0.01072, allocations: 56.47 kB / 0.7843 GB, free: 11.88 MB / 0.7449 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001164/0.01084, allocations: 148.9 kB / 0.7844 GB, free: 11.73 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.01089, allocations: 35.84 kB / 0.7845 GB, free: 11.7 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.01092, allocations: 31.73 kB / 0.7845 GB, free: 11.66 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01093, allocations: 4.812 kB / 0.7845 GB, free: 11.66 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.01093, allocations: 0 / 0.7845 GB, free: 11.66 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01093, allocations: 4.953 kB / 0.7845 GB, free: 11.66 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.01133, allocations: 391.3 kB / 0.7849 GB, free: 11.25 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.01134, allocations: 0.5938 kB / 0.7849 GB, free: 11.25 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.01136, allocations: 7.984 kB / 0.7849 GB, free: 11.25 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01136, allocations: 1.594 kB / 0.7849 GB, free: 11.25 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.01138, allocations: 11.97 kB / 0.7849 GB, free: 11.23 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.01138, allocations: 3.984 kB / 0.7849 GB, free: 11.23 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01138, allocations: 0 / 0.7849 GB, free: 11.23 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.01159, allocations: 245.4 kB / 0.7852 GB, free: 10.98 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.01173, allocations: 124.3 kB / 0.7853 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.01178, allocations: 19.98 kB / 0.7853 GB, free: 10.84 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.01195, allocations: 33.48 kB / 0.7853 GB, free: 10.81 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.01196, allocations: 12.75 kB / 0.7853 GB, free: 10.8 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.012, allocations: 47.92 kB / 0.7854 GB, free: 10.75 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 9.505e-05/0.01209, allocations: 145.8 kB / 0.7855 GB, free: 10.61 MB / 0.7449 GB Notification: Performance of sort global known variables: time 7e-08/0.01209, allocations: 0 / 0.7855 GB, free: 10.61 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002193/0.01231, allocations: 75.94 kB / 0.7856 GB, free: 10.53 MB / 0.7449 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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 9.588e-05/0.01241, allocations: 112.1 kB / 0.7857 GB, free: 10.42 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.01291, allocations: 413.3 kB / 0.7861 GB, free: 9.98 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.01291, allocations: 5 kB / 0.7861 GB, free: 9.977 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 9.353e-05/0.01301, allocations: 61.89 kB / 0.7862 GB, free: 9.918 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.01321, allocations: 59.34 kB / 0.7862 GB, free: 9.863 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.01373, allocations: 490.6 kB / 0.7867 GB, free: 9.367 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.707e-05/0.01379, allocations: 87.81 kB / 0.7868 GB, free: 9.262 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 4.083e-05/0.01383, allocations: 15.67 kB / 0.7868 GB, free: 9.246 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.01401, allocations: 127 kB / 0.7869 GB, free: 9.129 MB / 0.7449 GB Notification: Performance of SimCode: time 7.72e-07/0.01401, allocations: 0 / 0.7869 GB, free: 9.129 MB / 0.7449 GB Notification: Performance of Templates: time 0.006901/0.02091, allocations: 5.883 MB / 0.7926 GB, free: 3.262 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.078851873986423]