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.0008655/0.0008654, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008868/0.0008868, allocations: 177.3 kB / 15.95 MB, free: 216 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.278/1.278, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.595/1.595, allocations: 292.5 MB / 0.5497 GB, free: 14.66 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.0004654/0.0004654, allocations: 14.75 kB / 0.6736 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001851/0.2295, allocations: 1.363 MB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009189/0.2305, allocations: 455.1 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.2305, allocations: 0 / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.2306, allocations: 11.86 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.2307, allocations: 27.91 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.2313, allocations: 214.5 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.2316, allocations: 191.7 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2317, allocations: 25.09 kB / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.232, allocations: 179.6 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.2322, allocations: 135.6 kB / 0.7897 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.2323, allocations: 12 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.463e-05/0.2324, allocations: 8 kB / 0.7897 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.2325, allocations: 79.78 kB / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.2326, allocations: 81.56 kB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2329, allocations: 323.5 kB / 0.7901 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2329, allocations: 0 / 0.7901 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2329, allocations: 0 / 0.7901 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2329, allocations: 0 / 0.7901 GB, free: 8.906 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.001001/0.2339, allocations: 0.6876 MB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.234, allocations: 11.97 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.2341, allocations: 39.58 kB / 0.7909 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.2345, allocations: 267.2 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.2345, allocations: 23.98 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.2346, allocations: 23.98 kB / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/0.2356, allocations: 233.4 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2356, allocations: 11.88 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.2356, allocations: 0 / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2356, allocations: 4 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.2364, allocations: 119.9 kB / 0.7915 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.2375, allocations: 0.5628 MB / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/0.2385, allocations: 194.4 kB / 0.7922 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.2385, allocations: 8 kB / 0.7923 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008882/0.2395, allocations: 233.4 kB / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2395, allocations: 0 / 0.7925 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002364/0.2418, allocations: 489.2 kB / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.2419, allocations: 71.34 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.2422, allocations: 316.5 kB / 0.7933 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.2423, allocations: 37.69 kB / 0.7933 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.2424, allocations: 101 kB / 0.7934 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.2424, allocations: 39.48 kB / 0.7935 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.2425, allocations: 8 kB / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2426, allocations: 322.8 kB / 0.7938 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.2428, allocations: 95.94 kB / 0.7939 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.243, allocations: 146.6 kB / 0.794 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.2433, allocations: 162.1 kB / 0.7942 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.2433, allocations: 7.938 kB / 0.7942 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006483/0.2439, allocations: 416.6 kB / 0.7946 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/0.244, allocations: 75.39 kB / 0.7947 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.244, allocations: 4 kB / 0.7947 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2441, allocations: 0 / 0.7947 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.2442, allocations: 27.92 kB / 0.7947 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.2442, allocations: 8 kB / 0.7947 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.2447, allocations: 67.98 kB / 0.7948 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.2448, allocations: 39.98 kB / 0.7948 GB, free: 3.812 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.0002119/0.245, allocations: 192.3 kB / 0.795 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.245, allocations: 23.72 kB / 0.795 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.2451, allocations: 30.36 kB / 0.795 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2451, allocations: 8 kB / 0.795 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2451, allocations: 0 / 0.795 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2451, allocations: 0 / 0.795 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.2472, allocations: 0.7587 MB / 0.7958 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2472, allocations: 0 / 0.7958 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.2472, allocations: 7.984 kB / 0.7958 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2472, allocations: 0 / 0.7958 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.2473, allocations: 15.98 kB / 0.7958 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2473, allocations: 8 kB / 0.7958 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2473, allocations: 3.984 kB / 0.7958 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.2489, allocations: 470.8 kB / 0.7963 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.2491, allocations: 184.7 kB / 0.7964 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.2492, allocations: 20 kB / 0.7965 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.2496, allocations: 39.95 kB / 0.7965 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.2497, allocations: 11.92 kB / 0.7965 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.2497, allocations: 43.98 kB / 0.7966 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002037/0.25, allocations: 227 kB / 0.7968 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.25, allocations: 0 / 0.7968 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003366/0.2503, allocations: 63.83 kB / 0.7968 GB, free: 1.633 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.0001859/0.2505, allocations: 142.3 kB / 0.797 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.2516, allocations: 406.8 kB / 0.7974 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2517, allocations: 4 kB / 0.7974 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007362/0.2524, allocations: 127.9 kB / 0.7975 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2527, allocations: 35.12 kB / 0.7975 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.2541, allocations: 0.5423 MB / 0.798 GB, free: 344 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.2544, allocations: 0.7633 MB / 0.7988 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.045e-05/0.2545, allocations: 9.438 kB / 0.7988 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.2545, allocations: 19.42 kB / 0.7988 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2545, allocations: 0 / 0.7988 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.006552/0.2611, allocations: 3.862 MB / 0.8026 GB, free: 11.68 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: