Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 101.6 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 71.89 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2728, allocations: 114.6 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003343/0.2762, allocations: 1.667 MB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2774, allocations: 495.1 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.2775, allocations: 0 / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.2776, allocations: 11.88 kB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.2778, allocations: 36.16 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.2786, allocations: 278.1 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.2791, allocations: 419.4 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2792, allocations: 29.11 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.2795, allocations: 223.6 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.2798, allocations: 120 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.157e-05/0.2798, allocations: 35.94 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.304e-05/0.2799, allocations: 28 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.28, allocations: 91.72 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.2802, allocations: 151.3 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4547/0.735, allocations: 437.3 kB / 0.7879 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.735, allocations: 0 / 0.7879 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7351, allocations: 0 / 0.7879 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.7351, allocations: 0 / 0.7879 GB, free: 46.77 MB / 0.6544 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.0011/0.7362, allocations: 0.7729 MB / 0.7887 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.7362, allocations: 11.22 kB / 0.7887 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.7363, allocations: 36.09 kB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.7366, allocations: 281.9 kB / 0.789 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.531e-05/0.7367, allocations: 17.66 kB / 0.789 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.7368, allocations: 22 kB / 0.789 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000927/0.7377, allocations: 227.2 kB / 0.7893 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7377, allocations: 0 / 0.7893 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.7378, allocations: 5.609 kB / 0.7893 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.7378, allocations: 2.938 kB / 0.7893 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007486/0.7385, allocations: 112.5 kB / 0.7894 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.7395, allocations: 0.564 MB / 0.7899 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.7406, allocations: 183.3 kB / 0.7901 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006978/0.7413, allocations: 114.2 kB / 0.7902 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.7413, allocations: 5.281 kB / 0.7902 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009031/0.7422, allocations: 221.6 kB / 0.7904 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.664e-06/0.7422, allocations: 0 / 0.7904 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002371/0.7446, allocations: 456 kB / 0.7909 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.7447, allocations: 64.3 kB / 0.7909 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.7449, allocations: 324.7 kB / 0.7912 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.745, allocations: 38.64 kB / 0.7913 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.7451, allocations: 103.9 kB / 0.7914 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.7451, allocations: 38.3 kB / 0.7914 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.7453, allocations: 100.7 kB / 0.7915 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.947e-05/0.7453, allocations: 329.5 kB / 0.7918 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.7455, allocations: 94.08 kB / 0.7919 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.7457, allocations: 149.1 kB / 0.792 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.746, allocations: 258 kB / 0.7923 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.746, allocations: 0 / 0.7923 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005904/0.7466, allocations: 419 kB / 0.7927 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.7467, allocations: 81.23 kB / 0.7928 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7467, allocations: 3.875 kB / 0.7928 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.7467, allocations: 3.469 kB / 0.7928 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.7469, allocations: 24.19 kB / 0.7928 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.7469, allocations: 5.094 kB / 0.7928 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.7474, allocations: 61.91 kB / 0.7929 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.7474, allocations: 42.61 kB / 0.7929 GB, free: 44.48 MB / 0.6544 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.0001596/0.7476, allocations: 187.9 kB / 0.7931 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.7477, allocations: 33.22 kB / 0.7931 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.7477, allocations: 32.48 kB / 0.7931 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7477, allocations: 0 / 0.7931 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7477, allocations: 0.5 kB / 0.7931 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7477, allocations: 5.094 kB / 0.7931 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.7496, allocations: 0.7291 MB / 0.7939 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.7496, allocations: 0 / 0.7939 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.7497, allocations: 6.641 kB / 0.7939 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.7497, allocations: 7.375 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.7497, allocations: 17.53 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7497, allocations: 3.375 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7497, allocations: 6.125 kB / 0.7939 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.7513, allocations: 453.1 kB / 0.7943 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.7515, allocations: 183.8 kB / 0.7945 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.7516, allocations: 25.02 kB / 0.7945 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.752, allocations: 26.67 kB / 0.7946 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.7521, allocations: 13.98 kB / 0.7946 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.7521, allocations: 42.95 kB / 0.7946 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001687/0.7523, allocations: 232.6 kB / 0.7948 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7523, allocations: 0 / 0.7948 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003273/0.7526, allocations: 51.69 kB / 0.7949 GB, free: 43.7 MB / 0.6544 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.0001643/0.7528, allocations: 130.8 kB / 0.795 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.7539, allocations: 415.1 kB / 0.7954 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7539, allocations: 0 / 0.7954 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007528/0.7547, allocations: 118.3 kB / 0.7955 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.7551, allocations: 36.23 kB / 0.7956 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.7564, allocations: 0.4998 MB / 0.796 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.7566, allocations: 0.7526 MB / 0.7968 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.7567, allocations: 16.94 kB / 0.7968 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.7567, allocations: 0 / 0.7968 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of Templates: time 0.005597/0.7623, allocations: 3.185 MB / 0.7999 GB, free: 42.32 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)