Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.3 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 188.1 kB / 371.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 94.91 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000555/0.000555, allocations: 12.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2224, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001523/0.224, allocations: 1.349 MB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.2247, allocations: 448.5 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.2247, allocations: 4 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.2248, allocations: 3.938 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2249, allocations: 31.89 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.2254, allocations: 207.7 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.2256, allocations: 183.7 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2257, allocations: 29.36 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.2259, allocations: 175.6 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.2261, allocations: 127.7 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.2262, allocations: 8 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.26e-05/0.2262, allocations: 12 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.2263, allocations: 79.72 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.2264, allocations: 77.58 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.2266, allocations: 311.6 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2266, allocations: 0 / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2266, allocations: 0 / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2266, allocations: 0 / 0.9824 GB, free: 24.66 MB / 0.6198 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.0009317/0.2275, allocations: 0.6452 MB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2276, allocations: 15.95 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.2277, allocations: 39.58 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.228, allocations: 267.2 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.228, allocations: 15.98 kB / 0.9833 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.2281, allocations: 20 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.2284, allocations: 173.5 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2284, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.2284, allocations: 4 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2284, allocations: 4 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.2286, allocations: 63.84 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009905/0.2296, allocations: 0.5627 MB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2298, allocations: 134.7 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.2299, allocations: 7.984 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/0.2303, allocations: 226.2 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.2303, allocations: 0 / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005688/0.2308, allocations: 281.3 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.2309, allocations: 67.34 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.2311, allocations: 312.5 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.2312, allocations: 41.69 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.2312, allocations: 93.05 kB / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.2313, allocations: 55.36 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.2313, allocations: 8 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.2314, allocations: 326.8 kB / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.2316, allocations: 104.2 kB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.2318, allocations: 158.4 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.232, allocations: 170 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.232, allocations: 0 / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005639/0.2325, allocations: 436.3 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.2326, allocations: 79.38 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2326, allocations: 4 kB / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2326, allocations: 0 / 0.9865 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2328, allocations: 31.92 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2328, allocations: 7.938 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.2333, allocations: 75.97 kB / 0.9866 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.2334, allocations: 55.97 kB / 0.9867 GB, free: 19.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$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 (28): * Single equations (assignments): 26 * 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.0001647/0.2336, allocations: 191.8 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.2336, allocations: 27.62 kB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.2337, allocations: 30.36 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2337, allocations: 8 kB / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.2337, allocations: 3.984 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2337, allocations: 3.953 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.2343, allocations: 0.5893 MB / 0.9875 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2344, allocations: 4 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.2344, allocations: 7.984 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2344, allocations: 3.938 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.2344, allocations: 15.98 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2344, allocations: 7.891 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2345, allocations: 4 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.2348, allocations: 324.2 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.235, allocations: 184.7 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.2351, allocations: 15.94 kB / 0.9881 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.2353, allocations: 11.98 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.2353, allocations: 19.92 kB / 0.9881 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.2354, allocations: 35.98 kB / 0.9881 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001561/0.2355, allocations: 223 kB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2356, allocations: 0 / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002966/0.2359, allocations: 59.92 kB / 0.9884 GB, free: 18.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001534/0.236, allocations: 124.9 kB / 0.9885 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.2365, allocations: 366.7 kB / 0.9889 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2365, allocations: 4.375 kB / 0.9889 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2366, allocations: 80.81 kB / 0.989 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.2369, allocations: 24.64 kB / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.2375, allocations: 494.5 kB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.2377, allocations: 0.7664 MB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.2378, allocations: 41.42 kB / 0.9902 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.238, allocations: 39.36 kB / 0.9903 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.238, allocations: 0 / 0.9903 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.006284/0.2442, allocations: 4.278 MB / 0.9945 GB, free: 11.88 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)