Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001562, allocations: 102.6 kB / 16.35 MB, free: 6.348 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.001643/0.001643, allocations: 194 kB / 17.29 MB, free: 5.93 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.833/1.833, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001416/0.001416, allocations: 68.36 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2325, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003109/0.2357, allocations: 1.678 MB / 0.7864 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2368, allocations: 491.2 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.2369, allocations: 0 / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.237, allocations: 11.86 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.2371, allocations: 32.16 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.2378, allocations: 278.6 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004592/0.2382, allocations: 419.4 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2384, allocations: 33.09 kB / 0.7876 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.378/0.6164, allocations: 225.8 kB / 0.7879 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.6168, allocations: 122.5 kB / 0.788 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.6169, allocations: 29.44 kB / 0.788 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.617, allocations: 29.06 kB / 0.788 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.6172, allocations: 95.69 kB / 0.7881 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.6173, allocations: 153.1 kB / 0.7883 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.6177, allocations: 432.4 kB / 0.7887 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6177, allocations: 0.9375 kB / 0.7887 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6178, allocations: 0 / 0.7887 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.6178, allocations: 0 / 0.7887 GB, free: 46.6 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.00113/0.6189, allocations: 0.7724 MB / 0.7894 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.619, allocations: 10.5 kB / 0.7894 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.6191, allocations: 34.94 kB / 0.7895 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.6194, allocations: 281.7 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.6195, allocations: 18.28 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.6196, allocations: 27.42 kB / 0.7898 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.6207, allocations: 221 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6207, allocations: 4.125 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.6207, allocations: 3.562 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6207, allocations: 2.781 kB / 0.79 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008977/0.6216, allocations: 111.2 kB / 0.7901 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.6228, allocations: 0.5573 MB / 0.7907 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.6238, allocations: 188.8 kB / 0.7908 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.6245, allocations: 115.7 kB / 0.791 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.6245, allocations: 2.625 kB / 0.791 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000879/0.6254, allocations: 217.5 kB / 0.7912 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.6254, allocations: 2.844 kB / 0.7912 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002416/0.6279, allocations: 463.6 kB / 0.7916 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.6279, allocations: 62.83 kB / 0.7917 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.6282, allocations: 324.4 kB / 0.792 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.6282, allocations: 36.61 kB / 0.792 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.6283, allocations: 95.45 kB / 0.7921 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.6283, allocations: 37.62 kB / 0.7921 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.6285, allocations: 107.2 kB / 0.7922 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.6285, allocations: 320.6 kB / 0.7925 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.6287, allocations: 92.98 kB / 0.7926 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.629, allocations: 151.2 kB / 0.7928 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.6292, allocations: 260 kB / 0.793 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.6293, allocations: 0.8438 kB / 0.793 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005978/0.6299, allocations: 418.7 kB / 0.7934 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.6299, allocations: 77.17 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6299, allocations: 3.438 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.63, allocations: 3.969 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.6301, allocations: 20.56 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.6302, allocations: 13.64 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.6306, allocations: 48.34 kB / 0.7936 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.6307, allocations: 44.27 kB / 0.7936 GB, free: 44.29 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.0001767/0.6309, allocations: 192 kB / 0.7938 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.6309, allocations: 26.91 kB / 0.7938 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.631, allocations: 31.53 kB / 0.7939 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.631, allocations: 3.656 kB / 0.7939 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.631, allocations: 3.938 kB / 0.7939 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.631, allocations: 0 / 0.7939 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.633, allocations: 0.7301 MB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.633, allocations: 1.688 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.6331, allocations: 12.52 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.6331, allocations: 8.938 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.6331, allocations: 13.59 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6331, allocations: 0 / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6331, allocations: 3.938 kB / 0.7946 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.6348, allocations: 457.3 kB / 0.7951 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.635, allocations: 194.2 kB / 0.7953 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.6351, allocations: 14.5 kB / 0.7953 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/0.6355, allocations: 33.73 kB / 0.7953 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.6356, allocations: 6.797 kB / 0.7953 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.6356, allocations: 44.08 kB / 0.7953 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000175/0.6358, allocations: 230.5 kB / 0.7956 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6358, allocations: 4.188 kB / 0.7956 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003465/0.6362, allocations: 54.78 kB / 0.7956 GB, free: 43.49 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.0001425/0.6363, allocations: 130.7 kB / 0.7957 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.6374, allocations: 395.9 kB / 0.7961 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6375, allocations: 4.125 kB / 0.7961 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007335/0.6382, allocations: 119.6 kB / 0.7962 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.6386, allocations: 35.06 kB / 0.7963 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.6399, allocations: 475 kB / 0.7967 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.6401, allocations: 0.7481 MB / 0.7975 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.191e-05/0.6402, allocations: 17.19 kB / 0.7975 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.6402, allocations: 17.84 kB / 0.7975 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6402, allocations: 0 / 0.7975 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.04774/0.688, allocations: 4.009 MB / 0.8014 GB, free: 42.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)