Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001455/0.001455, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001827/0.001827, allocations: 166.8 kB / 24.87 MB, free: 8.891 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 0.997/0.997, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.91/1.91, allocations: 377.9 MB / 0.6247 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.8128 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.361e-05, allocations: 2.969 kB / 0.8128 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003122/0.003155, allocations: 1.789 MB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.004909, allocations: 0.6102 MB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.005052, allocations: 0 / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.005208, allocations: 15.86 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.005383, allocations: 39.72 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.006325, allocations: 364.9 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005938/0.006918, allocations: 0.5989 MB / 0.8162 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.007037, allocations: 21.3 kB / 0.8162 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.007547, allocations: 419.5 kB / 0.8166 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.007812, allocations: 135.7 kB / 0.8167 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.619e-05/0.007888, allocations: 44.66 kB / 0.8168 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.617e-05/0.007944, allocations: 40 kB / 0.8168 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.008063, allocations: 132.2 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.008186, allocations: 148.4 kB / 0.8171 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.008577, allocations: 434.7 kB / 0.8175 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.008581, allocations: 0.5312 kB / 0.8175 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.463e-06/0.008582, allocations: 1.406 kB / 0.8175 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.008592, allocations: 0 / 0.8175 GB, free: 12.63 MB / 0.7761 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.001008/0.0096, allocations: 0.9455 MB / 0.8184 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.009638, allocations: 8.562 kB / 0.8184 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.009752, allocations: 70.02 kB / 0.8185 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.01003, allocations: 290.7 kB / 0.8187 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.01007, allocations: 16.38 kB / 0.8188 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.01013, allocations: 32.36 kB / 0.8188 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.01049, allocations: 208.8 kB / 0.819 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.0105, allocations: 4.172 kB / 0.819 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.01052, allocations: 5.594 kB / 0.819 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01052, allocations: 4.375 kB / 0.819 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.961e-05/0.01061, allocations: 56.25 kB / 0.8191 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.01134, allocations: 0.5515 MB / 0.8196 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.01154, allocations: 120.8 kB / 0.8197 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.01163, allocations: 54.86 kB / 0.8198 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01164, allocations: 3.984 kB / 0.8198 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.01185, allocations: 181 kB / 0.8199 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.01185, allocations: 4 kB / 0.8199 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005318/0.01238, allocations: 365.7 kB / 0.8203 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.01242, allocations: 59.41 kB / 0.8204 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.01268, allocations: 430.4 kB / 0.8208 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.01272, allocations: 41.69 kB / 0.8208 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.01279, allocations: 148.1 kB / 0.8209 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.01282, allocations: 43.66 kB / 0.821 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.01297, allocations: 143.1 kB / 0.8211 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.01309, allocations: 0.4923 MB / 0.8216 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.01327, allocations: 167.3 kB / 0.8218 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.0136, allocations: 253 kB / 0.822 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.01381, allocations: 262.3 kB / 0.8223 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01381, allocations: 0 / 0.8223 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005422/0.01435, allocations: 0.543 MB / 0.8228 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.01442, allocations: 87.38 kB / 0.8229 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01443, allocations: 8 kB / 0.8229 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.01444, allocations: 4 kB / 0.8229 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.01456, allocations: 35.91 kB / 0.8229 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01456, allocations: 0 / 0.8229 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.01474, allocations: 47.86 kB / 0.823 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.0148, allocations: 60.17 kB / 0.823 GB, free: 6.625 MB / 0.7761 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.0001497/0.01495, allocations: 195.1 kB / 0.8232 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.01501, allocations: 55.64 kB / 0.8233 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.01505, allocations: 35.73 kB / 0.8233 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01505, allocations: 0 / 0.8233 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01506, allocations: 0 / 0.8233 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01506, allocations: 0 / 0.8233 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.01566, allocations: 0.641 MB / 0.8239 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01566, allocations: 4 kB / 0.8239 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.01569, allocations: 4 kB / 0.8239 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01569, allocations: 3.938 kB / 0.8239 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.01571, allocations: 23.97 kB / 0.824 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01572, allocations: 0 / 0.824 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01572, allocations: 4 kB / 0.824 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.0161, allocations: 459.8 kB / 0.8244 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.01627, allocations: 165.5 kB / 0.8246 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.01633, allocations: 27.98 kB / 0.8246 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.01647, allocations: 15.98 kB / 0.8246 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.0165, allocations: 7.984 kB / 0.8246 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.01655, allocations: 59.97 kB / 0.8247 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001535/0.0167, allocations: 271 kB / 0.8249 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.81e-07/0.0167, allocations: 0 / 0.8249 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002525/0.01695, allocations: 67.98 kB / 0.825 GB, free: 4.547 MB / 0.7761 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.0001813/0.01713, allocations: 123.9 kB / 0.8251 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.01758, allocations: 435.8 kB / 0.8255 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01758, allocations: 0 / 0.8255 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.01768, allocations: 79.95 kB / 0.8256 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01798, allocations: 71.34 kB / 0.8257 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.01858, allocations: 498.8 kB / 0.8261 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.766e-05/0.01864, allocations: 83.81 kB / 0.8262 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.798e-05/0.01869, allocations: 25.47 kB / 0.8262 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.01887, allocations: 142.2 kB / 0.8264 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.01887, allocations: 0 / 0.8264 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.008052/0.02692, allocations: 6.075 MB / 0.8323 GB, free: 12.93 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.224067558068782]