Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007608/0.0007608, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009384/0.0009387, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 222.1 MB, free: 5.879 MB / 174.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.657/1.657, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004841/0.0004842, allocations: 17.94 kB / 0.6737 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2293, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001783/0.2311, allocations: 1.374 MB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.2321, allocations: 463.1 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.2322, allocations: 0 / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.983e-05/0.2323, allocations: 3.938 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.2324, allocations: 27.84 kB / 0.7891 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.233, allocations: 228.1 kB / 0.7894 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.2334, allocations: 319.5 kB / 0.7897 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.2335, allocations: 21.11 kB / 0.7897 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.2338, allocations: 243.5 kB / 0.7899 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.2341, allocations: 139.7 kB / 0.79 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.2342, allocations: 12 kB / 0.7901 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.705e-05/0.2342, allocations: 12 kB / 0.7901 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.725e-05/0.2343, allocations: 79.78 kB / 0.7901 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.2344, allocations: 81.56 kB / 0.7902 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.2347, allocations: 327.5 kB / 0.7905 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2347, allocations: 0 / 0.7905 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2347, allocations: 0 / 0.7905 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.2347, allocations: 0 / 0.7905 GB, free: 8.629 MB / 0.6075 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.0008923/0.2356, allocations: 0.6915 MB / 0.7912 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2357, allocations: 11.97 kB / 0.7912 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.2358, allocations: 39.58 kB / 0.7913 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.2361, allocations: 279 kB / 0.7915 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.2361, allocations: 19.98 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.2362, allocations: 20 kB / 0.7916 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.2371, allocations: 244.2 kB / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2371, allocations: 0 / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.2371, allocations: 0 / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2371, allocations: 4 kB / 0.7918 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.2378, allocations: 123.9 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.2388, allocations: 0.5551 MB / 0.7925 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008682/0.2396, allocations: 202.4 kB / 0.7926 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/0.2403, allocations: 116.8 kB / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.2403, allocations: 8 kB / 0.7928 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000775/0.2411, allocations: 227.2 kB / 0.793 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2411, allocations: 4 kB / 0.793 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002087/0.2432, allocations: 500 kB / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.2432, allocations: 63.41 kB / 0.7935 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.2435, allocations: 312.5 kB / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.2436, allocations: 37.69 kB / 0.7939 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.2437, allocations: 101 kB / 0.794 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.2437, allocations: 35.55 kB / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.2437, allocations: 8 kB / 0.794 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2439, allocations: 322.8 kB / 0.7943 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.2441, allocations: 95.94 kB / 0.7944 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.2443, allocations: 149.9 kB / 0.7945 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.2445, allocations: 163.3 kB / 0.7947 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2445, allocations: 0 / 0.7947 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000619/0.2452, allocations: 416.6 kB / 0.7951 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.079e-05/0.2452, allocations: 83.38 kB / 0.7952 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2453, allocations: 0 / 0.7952 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2453, allocations: 4 kB / 0.7952 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.2454, allocations: 23.92 kB / 0.7952 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.2454, allocations: 4 kB / 0.7952 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.2458, allocations: 67.98 kB / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.2459, allocations: 43.98 kB / 0.7953 GB, free: 3.414 MB / 0.6075 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.2461, allocations: 195.1 kB / 0.7955 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.2462, allocations: 27.72 kB / 0.7955 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.2462, allocations: 30.36 kB / 0.7956 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2462, allocations: 7.938 kB / 0.7956 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2463, allocations: 0 / 0.7956 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2463, allocations: 3.938 kB / 0.7956 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.2481, allocations: 0.7519 MB / 0.7963 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2481, allocations: 0 / 0.7963 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.2481, allocations: 7.984 kB / 0.7963 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2481, allocations: 4 kB / 0.7963 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.2482, allocations: 19.98 kB / 0.7963 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2482, allocations: 0 / 0.7963 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2482, allocations: 0 / 0.7963 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.2497, allocations: 485.9 kB / 0.7968 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.2499, allocations: 184.7 kB / 0.797 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.2499, allocations: 16 kB / 0.797 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.2503, allocations: 39.95 kB / 0.797 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.2504, allocations: 11.98 kB / 0.797 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.2504, allocations: 39.98 kB / 0.7971 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002011/0.2506, allocations: 223 kB / 0.7973 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2507, allocations: 0 / 0.7973 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003295/0.251, allocations: 67.78 kB / 0.7973 GB, free: 1.23 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001731/0.2512, allocations: 131.7 kB / 0.7975 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.2522, allocations: 414.5 kB / 0.7979 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2522, allocations: 0 / 0.7979 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.2529, allocations: 128.2 kB / 0.798 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.2532, allocations: 32.62 kB / 0.798 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2545, allocations: 0.5386 MB / 0.7985 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2548, allocations: 0.7555 MB / 0.7993 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.389e-05/0.2549, allocations: 13.42 kB / 0.7993 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.2549, allocations: 15.42 kB / 0.7993 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2549, allocations: 8 kB / 0.7993 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.006965/0.2619, allocations: 3.863 MB / 0.8031 GB, free: 11.29 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: