Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.0009686/0.0009686, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.0009544/0.0009544, allocations: 161.4 kB / 24.17 MB, free: 324 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.9914/0.9914, allocations: 177.1 MB / 204.6 MB, free: 4.719 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 2.003/2.003, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7752 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.522e-05, allocations: 5.406 kB / 0.7752 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002078/0.002093, allocations: 1.828 MB / 0.777 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.003112, allocations: 0.616 MB / 0.7776 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.00317, allocations: 3.938 kB / 0.7776 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.15e-05/0.003262, allocations: 12.95 kB / 0.7776 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.00339, allocations: 34.91 kB / 0.7777 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.003939, allocations: 373.8 kB / 0.778 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006474/0.004587, allocations: 0.601 MB / 0.7786 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.004661, allocations: 25.92 kB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.005008, allocations: 432 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.005202, allocations: 143.7 kB / 0.7792 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.999e-05/0.005252, allocations: 43.81 kB / 0.7792 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.752e-05/0.00531, allocations: 44 kB / 0.7793 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.005395, allocations: 127.6 kB / 0.7794 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.802e-05/0.005493, allocations: 147.7 kB / 0.7795 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.005781, allocations: 434.8 kB / 0.78 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005783, allocations: 0 / 0.78 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005783, allocations: 0 / 0.78 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.005787, allocations: 3.938 kB / 0.78 GB, free: 0.5117 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.0007325/0.006519, allocations: 0.7744 MB / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.00655, allocations: 14.25 kB / 0.7807 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.006625, allocations: 52.88 kB / 0.7808 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.006848, allocations: 249.3 kB / 0.781 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.006879, allocations: 20.38 kB / 0.781 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.006923, allocations: 28.36 kB / 0.7811 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.00724, allocations: 202.4 kB / 0.7813 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.007249, allocations: 1.188 kB / 0.7813 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.007267, allocations: 4.375 kB / 0.7813 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.007273, allocations: 4.375 kB / 0.7813 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.896e-05/0.007352, allocations: 45.41 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.007852, allocations: 324.6 kB / 0.7816 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.008001, allocations: 94.3 kB / 0.7817 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.008073, allocations: 50.14 kB / 0.7818 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.008087, allocations: 5.438 kB / 0.7818 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.008246, allocations: 152.2 kB / 0.7819 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.008248, allocations: 0 / 0.7819 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003115/0.008559, allocations: 205.2 kB / 0.7821 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.00859, allocations: 63.39 kB / 0.7822 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.008779, allocations: 339.4 kB / 0.7825 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.008814, allocations: 41.69 kB / 0.7825 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.008864, allocations: 109.3 kB / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.008893, allocations: 43.67 kB / 0.7827 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.009004, allocations: 117.4 kB / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.009076, allocations: 327.6 kB / 0.7831 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.009233, allocations: 163.3 kB / 0.7832 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.009385, allocations: 218.4 kB / 0.7835 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.00956, allocations: 249.5 kB / 0.7837 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009562, allocations: 0 / 0.7837 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003541/0.009916, allocations: 456.9 kB / 0.7841 GB, free: 12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.009968, allocations: 91.36 kB / 0.7842 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.009974, allocations: 4.812 kB / 0.7842 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.009985, allocations: 0 / 0.7842 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.01009, allocations: 49.53 kB / 0.7843 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.01009, allocations: 4 kB / 0.7843 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.01026, allocations: 51.8 kB / 0.7843 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.01031, allocations: 48.97 kB / 0.7844 GB, free: 11.75 MB / 0.7448 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.0001098/0.01042, allocations: 152.3 kB / 0.7845 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.01046, allocations: 27.91 kB / 0.7845 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.0105, allocations: 40.75 kB / 0.7846 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.0105, allocations: 0 / 0.7846 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.0105, allocations: 4 kB / 0.7846 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.0105, allocations: 0.9375 kB / 0.7846 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.01089, allocations: 392.5 kB / 0.785 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01089, allocations: 0 / 0.785 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.01091, allocations: 8 kB / 0.785 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01091, allocations: 0 / 0.785 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.01093, allocations: 12.97 kB / 0.785 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01093, allocations: 4 kB / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01093, allocations: 0 / 0.785 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.0114, allocations: 241.5 kB / 0.7852 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.01154, allocations: 127.5 kB / 0.7853 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.01159, allocations: 20.81 kB / 0.7854 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.01175, allocations: 32.22 kB / 0.7854 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.01178, allocations: 11.92 kB / 0.7854 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.01182, allocations: 52.88 kB / 0.7854 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.733e-05/0.01191, allocations: 148.7 kB / 0.7856 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01191, allocations: 0.8438 kB / 0.7856 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002008/0.01211, allocations: 71.89 kB / 0.7857 GB, free: 10.39 MB / 0.7448 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 0.000102/0.01222, allocations: 105.6 kB / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.01262, allocations: 416 kB / 0.7862 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.01262, allocations: 4 kB / 0.7862 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.01271, allocations: 61.28 kB / 0.7862 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01294, allocations: 63.14 kB / 0.7863 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.01348, allocations: 492.5 kB / 0.7867 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.01353, allocations: 87.81 kB / 0.7868 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.183e-05/0.01357, allocations: 19.84 kB / 0.7869 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.01374, allocations: 123 kB / 0.787 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.01374, allocations: 0 / 0.787 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of Templates: time 0.006983/0.02072, allocations: 5.87 MB / 0.7927 GB, free: 3.125 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.110650493763387]