Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001499/0.001499, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.001954/0.001954, 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 1.051/1.051, allocations: 177.2 MB / 204.6 MB, free: 5.469 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.956/1.956, 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.974e-05/4.199e-05, allocations: 3.062 kB / 0.7752 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00424/0.004282, allocations: 1.782 MB / 0.777 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.005881, allocations: 0.6135 MB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.479e-05/0.005976, allocations: 0 / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.006081, allocations: 11.81 kB / 0.7776 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.00623, allocations: 38.78 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.007254, allocations: 378.3 kB / 0.778 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007701/0.008024, allocations: 0.6026 MB / 0.7786 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.008125, allocations: 27.19 kB / 0.7786 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006385/0.008763, allocations: 427.5 kB / 0.779 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.009125, allocations: 149.5 kB / 0.7791 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.966e-05/0.009215, allocations: 40 kB / 0.7792 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.009285, allocations: 40 kB / 0.7792 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.009411, allocations: 131.6 kB / 0.7793 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.009587, allocations: 151.7 kB / 0.7795 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.01006, allocations: 434.8 kB / 0.7799 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.01007, allocations: 0 / 0.7799 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01007, allocations: 2.5 kB / 0.7799 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.01007, allocations: 0 / 0.7799 GB, free: 0.5938 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.00116/0.01123, allocations: 0.7816 MB / 0.7807 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.01127, allocations: 12.73 kB / 0.7807 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.01141, allocations: 53.5 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.01175, allocations: 240 kB / 0.781 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.0118, allocations: 21.05 kB / 0.781 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.01187, allocations: 32.36 kB / 0.781 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.01233, allocations: 201.6 kB / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01234, allocations: 1.719 kB / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.01237, allocations: 384 / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.01238, allocations: 4.375 kB / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.0125, allocations: 52.98 kB / 0.7813 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.01328, allocations: 324.6 kB / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.01351, allocations: 95 kB / 0.7817 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.01362, allocations: 50.22 kB / 0.7817 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.01364, allocations: 0 / 0.7817 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.01387, allocations: 147.7 kB / 0.7818 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.01387, allocations: 0.9375 kB / 0.7818 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004703/0.01434, allocations: 212.8 kB / 0.782 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.01439, allocations: 55.41 kB / 0.7821 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.01469, allocations: 351.4 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.01474, allocations: 41.7 kB / 0.7825 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.01481, allocations: 97.39 kB / 0.7826 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.01486, allocations: 47.59 kB / 0.7826 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.01503, allocations: 123.5 kB / 0.7827 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.01513, allocations: 318.8 kB / 0.783 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.01538, allocations: 167.2 kB / 0.7832 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.01561, allocations: 221.2 kB / 0.7834 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.01589, allocations: 250.3 kB / 0.7836 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01589, allocations: 0 / 0.7836 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005592/0.01645, allocations: 460.9 kB / 0.7841 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.142e-05/0.01653, allocations: 87.88 kB / 0.7842 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.01654, allocations: 5.672 kB / 0.7842 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01656, allocations: 4 kB / 0.7842 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.0167, allocations: 39.91 kB / 0.7842 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.01671, allocations: 4 kB / 0.7842 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.01695, allocations: 48.64 kB / 0.7843 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/0.01702, allocations: 48.84 kB / 0.7843 GB, free: 11.83 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.0001561/0.01718, allocations: 148.5 kB / 0.7845 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.01724, allocations: 31.91 kB / 0.7845 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/0.0173, allocations: 35.72 kB / 0.7845 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01731, allocations: 1.156 kB / 0.7845 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01731, allocations: 4 kB / 0.7845 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01731, allocations: 0 / 0.7845 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.0179, allocations: 395.9 kB / 0.7849 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.0179, allocations: 1.438 kB / 0.7849 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.01793, allocations: 7.938 kB / 0.7849 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.01794, allocations: 4 kB / 0.7849 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.01796, allocations: 11.97 kB / 0.7849 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01797, allocations: 1.031 kB / 0.7849 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01797, allocations: 4 kB / 0.7849 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.0183, allocations: 244.3 kB / 0.7852 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.01852, allocations: 127.5 kB / 0.7853 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.01859, allocations: 16.59 kB / 0.7853 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.01885, allocations: 29.47 kB / 0.7853 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.01888, allocations: 11.98 kB / 0.7853 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/0.01893, allocations: 48.75 kB / 0.7854 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001602/0.01909, allocations: 148.7 kB / 0.7855 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01909, allocations: 5.062 kB / 0.7855 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003497/0.01944, allocations: 67.95 kB / 0.7856 GB, free: 10.48 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.000168/0.01961, allocations: 109.2 kB / 0.7857 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.0202, allocations: 417.9 kB / 0.7861 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.02021, allocations: 5.25 kB / 0.7861 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.02034, allocations: 61.23 kB / 0.7862 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.02066, allocations: 60.3 kB / 0.7862 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007673/0.02142, allocations: 494.3 kB / 0.7867 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.643e-05/0.02149, allocations: 83.81 kB / 0.7868 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.042e-05/0.02155, allocations: 20.8 kB / 0.7868 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.02185, allocations: 117.5 kB / 0.7869 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of SimCode: time 1.663e-06/0.02185, allocations: 0 / 0.7869 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.00681/0.02866, allocations: 5.876 MB / 0.7926 GB, free: 3.219 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.187043061014265]