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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009883/0.0009883, allocations: 184.3 kB / 327.3 MB, free: 2.168 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.697/1.697, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0007449/0.0007448, allocations: 93.67 kB / 0.6829 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003572, allocations: 9.719 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2205, allocations: 106.3 MB / 0.9009 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001661/0.2223, allocations: 1.376 MB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.223, allocations: 463 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.2231, allocations: 0 / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.259e-05/0.2232, allocations: 3.938 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.992e-05/0.2233, allocations: 23.84 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.2239, allocations: 220.5 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.2242, allocations: 303.5 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2243, allocations: 37.31 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.2246, allocations: 235.5 kB / 0.9034 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.2248, allocations: 139.7 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.2248, allocations: 8 kB / 0.9036 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.2249, allocations: 12 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.225, allocations: 79.77 kB / 0.9037 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.225, allocations: 73.58 kB / 0.9037 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.2253, allocations: 327.5 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2253, allocations: 0 / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2253, allocations: 3.938 kB / 0.904 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.2253, allocations: 0 / 0.904 GB, free: 60.52 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.0009847/0.2263, allocations: 0.6336 MB / 0.9047 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2263, allocations: 8.031 kB / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.2264, allocations: 39.58 kB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.2267, allocations: 271.1 kB / 0.905 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.2268, allocations: 15.98 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.2268, allocations: 20 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.2271, allocations: 175.8 kB / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2272, allocations: 0 / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.2272, allocations: 4 kB / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2272, allocations: 0 / 0.9052 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.2273, allocations: 59.97 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.2283, allocations: 0.5667 MB / 0.9058 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.2286, allocations: 138.7 kB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.2287, allocations: 56.84 kB / 0.906 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.2288, allocations: 4 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004158/0.2292, allocations: 238.7 kB / 0.9062 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.2292, allocations: 4 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005149/0.2297, allocations: 273.3 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2298, allocations: 75.31 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.23, allocations: 308.5 kB / 0.9068 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.2301, allocations: 41.69 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2301, allocations: 105 kB / 0.907 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.2302, allocations: 35.61 kB / 0.907 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.2302, allocations: 15.98 kB / 0.907 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.2303, allocations: 318.8 kB / 0.9073 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.2305, allocations: 108.2 kB / 0.9074 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.2307, allocations: 158.3 kB / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.2309, allocations: 161.2 kB / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.231, allocations: 0 / 0.9077 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005861/0.2315, allocations: 450.3 kB / 0.9082 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/0.2316, allocations: 79.38 kB / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2316, allocations: 3.938 kB / 0.9082 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2316, allocations: 8.141 kB / 0.9083 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2318, allocations: 27.92 kB / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2318, allocations: 4 kB / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.2324, allocations: 67.8 kB / 0.9083 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.2325, allocations: 63.97 kB / 0.9084 GB, free: 55.75 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 ($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.00016/0.2327, allocations: 181.7 kB / 0.9086 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.2327, allocations: 27.62 kB / 0.9086 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/0.2328, allocations: 34.36 kB / 0.9086 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2328, allocations: 4 kB / 0.9086 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2328, allocations: 7.891 kB / 0.9087 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2328, allocations: 7.984 kB / 0.9087 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.2334, allocations: 0.5983 MB / 0.9092 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2334, allocations: 0 / 0.9092 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.2335, allocations: 15.98 kB / 0.9093 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2335, allocations: 3.953 kB / 0.9093 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.2335, allocations: 11.98 kB / 0.9093 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2335, allocations: 0 / 0.9093 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2335, allocations: 0 / 0.9093 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.2338, allocations: 319.1 kB / 0.9096 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.234, allocations: 188.6 kB / 0.9098 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.2341, allocations: 19.95 kB / 0.9098 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.2343, allocations: 15.92 kB / 0.9098 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.2343, allocations: 19.97 kB / 0.9098 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.2344, allocations: 27.98 kB / 0.9098 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001542/0.2345, allocations: 227 kB / 0.9101 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2345, allocations: 0 / 0.9101 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002788/0.2348, allocations: 51.98 kB / 0.9101 GB, free: 53.91 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 (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.0001484/0.235, allocations: 125 kB / 0.9102 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.2355, allocations: 364.5 kB / 0.9106 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2355, allocations: 4 kB / 0.9106 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.2356, allocations: 79.8 kB / 0.9106 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.236, allocations: 34.25 kB / 0.9107 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.2367, allocations: 0.525 MB / 0.9112 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2369, allocations: 0.7555 MB / 0.9119 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.237, allocations: 35.42 kB / 0.912 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.237, allocations: 0 / 0.912 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.004246/0.2413, allocations: 3.321 MB / 0.9152 GB, free: 48.61 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)