Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 177.2 kB / 23.24 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.201/3.201, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.822e-05, allocations: 6.219 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.007309/0.007338, allocations: 1.738 MB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004952/0.01229, allocations: 0.6051 MB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.266e-05/0.01237, allocations: 0 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.01248, allocations: 7.875 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.01267, allocations: 47.44 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.01381, allocations: 374.5 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002118/0.01593, allocations: 0.597 MB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.01612, allocations: 21.3 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.01745, allocations: 419.6 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006061/0.01806, allocations: 147.6 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.01827, allocations: 40 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.01845, allocations: 43.94 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.01872, allocations: 135.6 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.01908, allocations: 139.7 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.02016, allocations: 0.6467 MB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.02017, allocations: 0 / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.473e-06/0.02017, allocations: 0 / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.02018, allocations: 0 / 1.006 GB, free: 7.996 MB / 0.9636 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.002036/0.02222, allocations: 0.8417 MB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.02227, allocations: 12.69 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.0225, allocations: 52.7 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.02303, allocations: 280 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.02308, allocations: 20.36 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.02316, allocations: 32.36 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.0242, allocations: 256 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.0242, allocations: 192 / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.02423, allocations: 384 / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.02424, allocations: 4.375 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.02508, allocations: 135.8 kB / 1.008 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.02641, allocations: 0.5391 MB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.02745, allocations: 186.5 kB / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007098/0.02816, allocations: 124.7 kB / 1.008 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.02819, allocations: 4 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009475/0.02914, allocations: 251.1 kB / 1.009 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.02914, allocations: 0 / 1.009 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.002544/0.03168, allocations: 0.5307 MB / 1.009 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.03176, allocations: 63.39 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005819/0.03234, allocations: 449.8 kB / 1.01 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.209e-05/0.03242, allocations: 37.7 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.03253, allocations: 97.44 kB / 1.01 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.03259, allocations: 51.56 kB / 1.01 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.03285, allocations: 141.4 kB / 1.01 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.03303, allocations: 322.8 kB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.03344, allocations: 223.2 kB / 1.01 GB, free: 3.184 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.03386, allocations: 275.9 kB / 1.011 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.03433, allocations: 291.7 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.03434, allocations: 4 kB / 1.011 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001045/0.03538, allocations: 0.6093 MB / 1.012 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.03548, allocations: 87.38 kB / 1.012 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.03549, allocations: 4 kB / 1.012 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.0355, allocations: 4 kB / 1.012 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.03567, allocations: 19.92 kB / 1.012 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.03568, allocations: 7.984 kB / 1.012 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.03618, allocations: 72.02 kB / 1.012 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.03629, allocations: 63.98 kB / 1.012 GB, free: 1.656 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0003013/0.03659, allocations: 216.3 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.03666, allocations: 43.66 kB / 1.012 GB, free: 1.391 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.109e-05/0.03675, allocations: 43.72 kB / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.03675, allocations: 0 / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.03675, allocations: 0 / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.03676, allocations: 4 kB / 1.012 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.03912, allocations: 0.7479 MB / 1.013 GB, free: 0.5547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.03912, allocations: 0 / 1.013 GB, free: 0.5547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.03916, allocations: 4 kB / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.03916, allocations: 0 / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.03921, allocations: 27.97 kB / 1.013 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.03921, allocations: 0 / 1.013 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.03921, allocations: 4 kB / 1.013 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.041, allocations: 0.5143 MB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.04134, allocations: 177.5 kB / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.04145, allocations: 24 kB / 1.014 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.04192, allocations: 35.95 kB / 1.014 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.04197, allocations: 7.984 kB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.04206, allocations: 63.92 kB / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004134/0.04247, allocations: 323.1 kB / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.04247, allocations: 0 / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004007/0.04287, allocations: 64 kB / 1.014 GB, free: 15.31 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0002228/0.04309, allocations: 127.2 kB / 1.014 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.04454, allocations: 0.529 MB / 1.015 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.04454, allocations: 4 kB / 1.015 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007576/0.0453, allocations: 124.3 kB / 1.015 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.04569, allocations: 47.05 kB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.04731, allocations: 0.6086 MB / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.04753, allocations: 179 kB / 1.016 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.911e-05/0.0476, allocations: 17.48 kB / 1.016 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.04765, allocations: 20.48 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of SimCode: time 4.21e-07/0.04765, allocations: 0 / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of Templates: time 0.01166/0.05931, allocations: 6.371 MB / 1.022 GB, free: 7.148 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.097356154583395]