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.001454/0.001454, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001186/0.001186, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9885/0.9885, allocations: 177.1 MB / 204.5 MB, free: 5.539 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.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.406 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 1.633e-06/1.633e-06, allocations: 0 / 0.8121 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.635e-05, allocations: 3.031 kB / 0.8121 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001927/0.001943, allocations: 1.787 MB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002944, allocations: 0.6103 MB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.003002, allocations: 4.938 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.733e-05/0.003089, allocations: 15.86 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.003196, allocations: 36.34 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.00376, allocations: 374.4 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.004145, allocations: 0.6047 MB / 0.8154 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.004223, allocations: 21.28 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003383/0.004561, allocations: 422 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.004755, allocations: 150.2 kB / 0.816 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.004814, allocations: 40 kB / 0.816 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.984e-05/0.004874, allocations: 41.53 kB / 0.8161 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.004963, allocations: 123.7 kB / 0.8162 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.842e-05/0.005061, allocations: 151.7 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.005345, allocations: 434.8 kB / 0.8167 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.005347, allocations: 1.938 kB / 0.8167 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005347, allocations: 4 kB / 0.8167 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.005351, allocations: 3.938 kB / 0.8167 GB, free: 12.64 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.00077/0.006121, allocations: 0.9468 MB / 0.8177 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.006151, allocations: 12.03 kB / 0.8177 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.227e-05/0.006244, allocations: 64.66 kB / 0.8177 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.00647, allocations: 276.1 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.006501, allocations: 20.36 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.006547, allocations: 32.36 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.006856, allocations: 222.7 kB / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.006863, allocations: 192 / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.006878, allocations: 1.219 kB / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.006883, allocations: 4.375 kB / 0.8183 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.578e-05/0.006969, allocations: 55.31 kB / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.007797, allocations: 0.5617 MB / 0.8189 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.007953, allocations: 108.7 kB / 0.819 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.008033, allocations: 60.83 kB / 0.819 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.008049, allocations: 4 kB / 0.819 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.008216, allocations: 178.8 kB / 0.8192 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.008217, allocations: 0 / 0.8192 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.000444/0.008661, allocations: 368 kB / 0.8196 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.008687, allocations: 55.41 kB / 0.8196 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.008922, allocations: 430.5 kB / 0.82 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.008954, allocations: 41.69 kB / 0.8201 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.009014, allocations: 152.1 kB / 0.8202 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.009044, allocations: 47.61 kB / 0.8202 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.009164, allocations: 143.1 kB / 0.8204 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.009263, allocations: 0.4962 MB / 0.8209 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.00941, allocations: 167.3 kB / 0.821 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.009573, allocations: 237 kB / 0.8213 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.009751, allocations: 266.2 kB / 0.8215 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.009753, allocations: 0 / 0.8215 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004498/0.0102, allocations: 0.5486 MB / 0.822 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.01025, allocations: 91.36 kB / 0.8221 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01025, allocations: 0 / 0.8221 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.01026, allocations: 4 kB / 0.8221 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.01036, allocations: 36.11 kB / 0.8222 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.01036, allocations: 7.984 kB / 0.8222 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.01052, allocations: 47.88 kB / 0.8222 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.01057, allocations: 63.95 kB / 0.8223 GB, free: 6.629 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.0001083/0.01067, allocations: 191.1 kB / 0.8225 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.01072, allocations: 51.66 kB / 0.8225 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.01076, allocations: 35.72 kB / 0.8226 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01076, allocations: 7.938 kB / 0.8226 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.01076, allocations: 4 kB / 0.8226 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01076, allocations: 0 / 0.8226 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.01131, allocations: 0.6307 MB / 0.8232 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01131, allocations: 0 / 0.8232 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.01133, allocations: 4 kB / 0.8232 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01133, allocations: 3.984 kB / 0.8232 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.01135, allocations: 19.98 kB / 0.8232 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01135, allocations: 0 / 0.8232 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01135, allocations: 4 kB / 0.8232 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.01169, allocations: 462.4 kB / 0.8236 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.01185, allocations: 173.5 kB / 0.8238 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.01189, allocations: 19.94 kB / 0.8238 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.01205, allocations: 31.97 kB / 0.8239 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.01208, allocations: 11.98 kB / 0.8239 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.01213, allocations: 59.97 kB / 0.8239 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001209/0.01225, allocations: 267 kB / 0.8242 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01225, allocations: 0 / 0.8242 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002057/0.01245, allocations: 67.98 kB / 0.8243 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 9.362e-05/0.01255, allocations: 123.9 kB / 0.8244 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.01294, allocations: 445.5 kB / 0.8248 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01295, allocations: 0 / 0.8248 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.01304, allocations: 80 kB / 0.8249 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.01329, allocations: 72.66 kB / 0.8249 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.01401, allocations: 495.3 kB / 0.8254 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.98e-05/0.01406, allocations: 91.75 kB / 0.8255 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.0141, allocations: 21.47 kB / 0.8255 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.01426, allocations: 146.2 kB / 0.8257 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01426, allocations: 0 / 0.8257 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of Templates: time 0.006244/0.02051, allocations: 5.891 MB / 0.8314 GB, free: 13.09 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.015355242881924]