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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.001455/0.001455, allocations: 181 kB / 371.8 MB, free: 10.27 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.681/1.681, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0009336/0.0009338, allocations: 85.39 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 12.94 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1989, allocations: 115.3 MB / 0.9795 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001448/0.2004, allocations: 1.336 MB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.2011, allocations: 447.1 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.2012, allocations: 4 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.2012, allocations: 11.86 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.513e-05/0.2013, allocations: 27.91 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.2019, allocations: 209.5 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.202, allocations: 183.7 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.2021, allocations: 25.42 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2023, allocations: 175.6 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2025, allocations: 131.7 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.2025, allocations: 11.94 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.355e-05/0.2026, allocations: 12 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.2027, allocations: 79.78 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.2027, allocations: 73.58 kB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.2029, allocations: 311.6 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2029, allocations: 0 / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.203, allocations: 0 / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.203, allocations: 0 / 0.9824 GB, free: 24.65 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.0008847/0.2039, allocations: 0.6452 MB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.2039, allocations: 12.02 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.204, allocations: 43.56 kB / 0.9831 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2043, allocations: 275.1 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.2043, allocations: 12 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.2044, allocations: 16 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.2047, allocations: 177.5 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2047, allocations: 4 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.2047, allocations: 3.938 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2048, allocations: 4 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.2049, allocations: 68.41 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009599/0.2059, allocations: 0.555 MB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.2061, allocations: 134.6 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.2061, allocations: 7.984 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003857/0.2065, allocations: 228.1 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.552e-06/0.2065, allocations: 0 / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004748/0.207, allocations: 278.5 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.2071, allocations: 71.34 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2073, allocations: 312.5 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.2073, allocations: 37.7 kB / 0.9852 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.2074, allocations: 105 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.2074, allocations: 47.38 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.2075, allocations: 8 kB / 0.9853 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.2075, allocations: 322.8 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.2077, allocations: 108.2 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2079, allocations: 162.3 kB / 0.9859 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.2082, allocations: 161.8 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2082, allocations: 0 / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005611/0.2087, allocations: 447.3 kB / 0.9865 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.2088, allocations: 75.39 kB / 0.9865 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2088, allocations: 4 kB / 0.9865 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2088, allocations: 0 / 0.9865 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.209, allocations: 31.91 kB / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.209, allocations: 3.953 kB / 0.9866 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.2095, allocations: 72.02 kB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.2096, allocations: 55.92 kB / 0.9867 GB, free: 19.94 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.0001481/0.2097, allocations: 181.8 kB / 0.9869 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.2098, allocations: 31.61 kB / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.2098, allocations: 34.36 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2098, allocations: 4 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2098, allocations: 0 / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2098, allocations: 3.953 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.2104, allocations: 0.5896 MB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2104, allocations: 7.875 kB / 0.9875 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.2105, allocations: 11.92 kB / 0.9875 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2105, allocations: 4 kB / 0.9875 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2105, allocations: 11.98 kB / 0.9876 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2105, allocations: 3.953 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2105, allocations: 4 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.2109, allocations: 331 kB / 0.9879 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.211, allocations: 180.7 kB / 0.988 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.2111, allocations: 12 kB / 0.9881 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.2113, allocations: 13.23 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.2114, allocations: 23.92 kB / 0.9881 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.2114, allocations: 31.98 kB / 0.9881 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000157/0.2116, allocations: 235 kB / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2116, allocations: 0 / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002882/0.2119, allocations: 51.94 kB / 0.9884 GB, free: 18.1 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.0001361/0.212, allocations: 128.9 kB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004574/0.2125, allocations: 363.8 kB / 0.9889 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2125, allocations: 384 / 0.9889 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.2126, allocations: 81.45 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.2129, allocations: 30.25 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.0006214/0.2135, allocations: 495.5 kB / 0.9894 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.2137, allocations: 0.7594 MB / 0.9902 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.2138, 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.0001097/0.214, allocations: 35.42 kB / 0.9903 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.214, allocations: 0 / 0.9903 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.006166/0.2201, allocations: 4.28 MB / 0.9944 GB, free: 11.88 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)