Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 174.9 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205 MB / 0.5766 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009827/0.0009828, allocations: 85.19 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8.938 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2281, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.00192/0.23, allocations: 1.411 MB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.231, allocations: 0.4962 MB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.2311, allocations: 0 / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.2312, allocations: 7.922 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.2314, allocations: 32.22 kB / 0.8987 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.232, allocations: 256.6 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.2324, allocations: 355.8 kB / 0.8993 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2325, allocations: 41.27 kB / 0.8993 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.2328, allocations: 214.3 kB / 0.8995 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.2331, allocations: 127.5 kB / 0.8996 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.336e-05/0.2332, allocations: 12 kB / 0.8996 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.181e-05/0.2332, allocations: 8 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2333, allocations: 83.7 kB / 0.8997 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.2335, allocations: 135.3 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.2338, allocations: 311.2 kB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2338, allocations: 0 / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2338, allocations: 4 kB / 0.9001 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.2338, allocations: 0 / 0.9001 GB, free: 64.71 MB / 0.6042 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.001036/0.2348, allocations: 0.6336 MB / 0.9008 GB, free: 64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2349, allocations: 8.031 kB / 0.9008 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.235, allocations: 35.62 kB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.2353, allocations: 282.8 kB / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.2354, allocations: 19.98 kB / 0.9011 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.2354, allocations: 20 kB / 0.9011 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.2358, allocations: 171 kB / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2358, allocations: 0 / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.2358, allocations: 11.94 kB / 0.9013 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2358, allocations: 0 / 0.9013 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.236, allocations: 55.97 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.2371, allocations: 0.5704 MB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.2374, allocations: 134.7 kB / 0.902 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.2375, allocations: 64.77 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2375, allocations: 11.98 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/0.2379, allocations: 220.2 kB / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.238, allocations: 4 kB / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005179/0.2385, allocations: 287.5 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.2385, allocations: 63.41 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.2388, allocations: 320.4 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.2388, allocations: 41.7 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.2389, allocations: 101 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.2389, allocations: 35.61 kB / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.239, allocations: 33.7 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.2391, allocations: 330.8 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.2393, allocations: 104.2 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.2395, allocations: 158.4 kB / 0.9037 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.2398, allocations: 271.9 kB / 0.904 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2398, allocations: 0 / 0.904 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005952/0.2404, allocations: 436.6 kB / 0.9044 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.2405, allocations: 79.52 kB / 0.9045 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2405, allocations: 8 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2405, allocations: 0 / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.2407, allocations: 35.91 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.2407, allocations: 0 / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.2412, allocations: 71.8 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.2413, allocations: 51.98 kB / 0.9046 GB, free: 59.77 MB / 0.6042 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,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,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.2415, allocations: 193.7 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.2415, allocations: 31.56 kB / 0.9049 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.2416, allocations: 30.36 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2416, allocations: 4 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2416, allocations: 0 / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2416, allocations: 0 / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.2423, allocations: 0.6036 MB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2423, allocations: 0 / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.2423, allocations: 11.94 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2423, allocations: 0 / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.2424, allocations: 15.97 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2424, allocations: 11.88 kB / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2424, allocations: 0 / 0.9055 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.2427, allocations: 333.1 kB / 0.9058 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.2429, allocations: 180.7 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.243, allocations: 19.98 kB / 0.906 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.2432, allocations: 11.98 kB / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.2432, allocations: 11.98 kB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.2433, allocations: 31.98 kB / 0.9061 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001623/0.2434, allocations: 223 kB / 0.9063 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2435, allocations: 0 / 0.9063 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003032/0.2438, allocations: 63.89 kB / 0.9063 GB, free: 57.92 MB / 0.6042 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 (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.0001708/0.2439, allocations: 124.9 kB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004982/0.2444, allocations: 368.4 kB / 0.9068 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2445, allocations: 4 kB / 0.9068 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.2446, allocations: 75.91 kB / 0.9069 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.245, allocations: 33 kB / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.2457, allocations: 0.5466 MB / 0.9075 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.2459, allocations: 0.7555 MB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.246, allocations: 35.42 kB / 0.9082 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.246, allocations: 3.938 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.00505/0.2511, allocations: 3.317 MB / 0.9115 GB, free: 52.6 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)