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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006446/0.006446, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001262/0.001262, allocations: 195 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 251.7 MB / 0.5094 GB, free: 3.016 MB / 414.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.001469/0.001469, allocations: 71.91 kB / 0.7258 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 104.7 MB / 0.8281 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002726/0.2269, allocations: 1.693 MB / 0.8298 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.2279, allocations: 467.3 kB / 0.8302 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.2279, allocations: 3.938 kB / 0.8302 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.228, allocations: 7.875 kB / 0.8302 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.2282, allocations: 36.14 kB / 0.8303 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.2289, allocations: 269.2 kB / 0.8305 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.2293, allocations: 403.4 kB / 0.8309 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2294, allocations: 37.36 kB / 0.8309 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.2297, allocations: 215.6 kB / 0.8311 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.2299, allocations: 124 kB / 0.8313 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.796e-05/0.23, allocations: 32 kB / 0.8313 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.258e-05/0.2301, allocations: 28 kB / 0.8313 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2302, allocations: 87.72 kB / 0.8314 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.2304, allocations: 155.2 kB / 0.8315 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.2308, allocations: 410.5 kB / 0.8319 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2308, allocations: 0 / 0.8319 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2308, allocations: 0 / 0.8319 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.2308, allocations: 0 / 0.8319 GB, free: 12.31 MB / 0.6544 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.001151/0.232, allocations: 0.7426 MB / 0.8327 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.232, allocations: 8.031 kB / 0.8327 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.2321, allocations: 40.73 kB / 0.8327 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.2324, allocations: 280.4 kB / 0.833 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.2324, allocations: 16.36 kB / 0.833 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.2325, allocations: 23.94 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.2328, allocations: 169.5 kB / 0.8332 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2328, allocations: 0 / 0.8332 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.2329, allocations: 4 kB / 0.8332 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2329, allocations: 3.938 kB / 0.8332 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2331, allocations: 63.97 kB / 0.8332 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2341, allocations: 0.555 MB / 0.8338 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.2344, allocations: 126.7 kB / 0.8339 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2346, allocations: 72.77 kB / 0.834 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.2346, allocations: 0 / 0.834 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004164/0.235, allocations: 230.8 kB / 0.8342 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/0.235, allocations: 4 kB / 0.8342 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18): time 0.000589/0.2356, allocations: 289.2 kB / 0.8345 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.2357, allocations: 63.34 kB / 0.8345 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.236, allocations: 320.5 kB / 0.8348 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.2361, allocations: 37.7 kB / 0.8349 GB, free: 9.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.2361, allocations: 97.08 kB / 0.835 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.2362, allocations: 47.69 kB / 0.835 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.2363, allocations: 117.7 kB / 0.8351 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2365, allocations: 322.8 kB / 0.8354 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.2367, allocations: 112.2 kB / 0.8355 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.237, allocations: 154.4 kB / 0.8357 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.2373, allocations: 259.7 kB / 0.8359 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2373, allocations: 0 / 0.8359 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007001/0.238, allocations: 432.7 kB / 0.8363 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.2381, allocations: 79.58 kB / 0.8364 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2381, allocations: 4 kB / 0.8364 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2381, allocations: 7.984 kB / 0.8364 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.2383, allocations: 23.92 kB / 0.8365 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2383, allocations: 4 kB / 0.8365 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.2388, allocations: 63.72 kB / 0.8365 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.2389, allocations: 55.98 kB / 0.8366 GB, free: 7.219 MB / 0.6544 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.0001814/0.2391, allocations: 189.7 kB / 0.8368 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.2391, allocations: 27.81 kB / 0.8368 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.2392, allocations: 30.36 kB / 0.8368 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.2392, allocations: 7.938 kB / 0.8368 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2392, allocations: 0 / 0.8368 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2392, allocations: 7.922 kB / 0.8368 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007758/0.24, allocations: 0.6024 MB / 0.8374 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.24, allocations: 4 kB / 0.8374 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.24, allocations: 8 kB / 0.8374 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.24, allocations: 4 kB / 0.8374 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.2401, allocations: 15.91 kB / 0.8374 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2401, allocations: 0 / 0.8374 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2401, allocations: 4 kB / 0.8374 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.2406, allocations: 327.1 kB / 0.8378 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.2408, allocations: 184.8 kB / 0.8379 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.2408, allocations: 23.94 kB / 0.838 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.241, allocations: 7.984 kB / 0.838 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.2411, allocations: 15.98 kB / 0.838 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.2412, allocations: 27.98 kB / 0.838 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000232/0.2414, allocations: 231 kB / 0.8382 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2414, allocations: 0 / 0.8382 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003158/0.2417, allocations: 51.98 kB / 0.8383 GB, free: 5.379 MB / 0.6544 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.0001929/0.2419, allocations: 133.5 kB / 0.8384 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000554/0.2425, allocations: 361.8 kB / 0.8388 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2425, allocations: 0 / 0.8388 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.2426, allocations: 75.91 kB / 0.8388 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.243, allocations: 44.39 kB / 0.8389 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007025/0.2438, allocations: 432.5 kB / 0.8393 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.2441, allocations: 0.7628 MB / 0.84 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.2442, allocations: 41.42 kB / 0.8401 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.2443, allocations: 35.42 kB / 0.8401 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2444, allocations: 4 kB / 0.8401 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of Templates: time 0.007596/0.252, allocations: 4.49 MB / 0.8445 GB, free: 15 MB / 0.67 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)