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.001513/0.001513, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001259/0.001259, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9979/0.9979, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.877/1.877, allocations: 377.9 MB / 0.6236 GB, free: 8.574 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.894e-06/1.894e-06, allocations: 0.9844 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.021e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002727/0.002757, allocations: 1.791 MB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003915, allocations: 0.6137 MB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.004002, allocations: 0 / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.00413, allocations: 16.36 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.004275, allocations: 36.94 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.00509, allocations: 376.1 kB / 0.8144 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005187/0.005609, allocations: 0.6009 MB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.005711, allocations: 26.42 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.006142, allocations: 419.6 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.006389, allocations: 137.2 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.118e-05/0.00646, allocations: 40 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.006521, allocations: 40 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.006636, allocations: 133.2 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.006764, allocations: 151.7 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.007156, allocations: 430.7 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.00716, allocations: 0 / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.007161, allocations: 0 / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.007169, allocations: 5.781 kB / 0.8163 GB, free: 12.92 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.0009871/0.008156, allocations: 0.9416 MB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.008192, allocations: 8.031 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.008311, allocations: 69.95 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.008604, allocations: 286.7 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.008644, allocations: 20.36 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.008693, allocations: 28.38 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.009087, allocations: 216.8 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.009095, allocations: 0.8438 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.009118, allocations: 8.375 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.009126, allocations: 1.656 kB / 0.8178 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.009233, allocations: 67.92 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007847/0.01002, allocations: 0.6147 MB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.01023, allocations: 126.2 kB / 0.8186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.01033, allocations: 67.78 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.01035, allocations: 7.969 kB / 0.8187 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.01057, allocations: 181.7 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.01057, allocations: 0 / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005769/0.01115, allocations: 382.4 kB / 0.8192 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.0112, allocations: 59.34 kB / 0.8192 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.01152, allocations: 434.7 kB / 0.8197 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.01157, allocations: 41.69 kB / 0.8197 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.01166, allocations: 148.1 kB / 0.8198 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.01185, allocations: 43.69 kB / 0.8199 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.01199, allocations: 147 kB / 0.82 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.0121, allocations: 0.4923 MB / 0.8205 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.01233, allocations: 183.3 kB / 0.8207 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.01255, allocations: 253.1 kB / 0.8209 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.0128, allocations: 283.4 kB / 0.8212 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.0128, allocations: 0 / 0.8212 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005897/0.01339, allocations: 0.5704 MB / 0.8218 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/0.01346, allocations: 91.38 kB / 0.8218 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01347, allocations: 0 / 0.8218 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.01348, allocations: 7.984 kB / 0.8218 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.01361, allocations: 31.92 kB / 0.8219 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.01362, allocations: 3.984 kB / 0.8219 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.0138, allocations: 47.86 kB / 0.8219 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.01386, allocations: 67.97 kB / 0.822 GB, free: 6.73 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.0001354/0.014, allocations: 191.2 kB / 0.8222 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.01405, allocations: 51.64 kB / 0.8222 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.0141, allocations: 35.73 kB / 0.8223 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.01411, allocations: 4 kB / 0.8223 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.01411, allocations: 3.984 kB / 0.8223 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01411, allocations: 0 / 0.8223 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006763/0.01479, allocations: 0.7043 MB / 0.823 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01479, allocations: 0 / 0.823 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.01482, allocations: 8 kB / 0.823 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.01483, allocations: 0 / 0.823 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.01486, allocations: 27.97 kB / 0.823 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.01486, allocations: 0 / 0.823 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01486, allocations: 0 / 0.823 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.01526, allocations: 473.4 kB / 0.8234 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.01542, allocations: 165.5 kB / 0.8236 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.01548, allocations: 19.98 kB / 0.8236 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.01563, allocations: 19.98 kB / 0.8236 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.01566, allocations: 11.98 kB / 0.8236 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.01571, allocations: 59.97 kB / 0.8237 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001715/0.01588, allocations: 283.1 kB / 0.824 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01588, allocations: 0 / 0.824 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000237/0.01612, allocations: 71.98 kB / 0.824 GB, free: 4.555 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.0001473/0.01626, allocations: 131.8 kB / 0.8242 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006057/0.01687, allocations: 448.3 kB / 0.8246 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.01687, allocations: 4 kB / 0.8246 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.01702, allocations: 83.95 kB / 0.8247 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.01743, allocations: 57.61 kB / 0.8247 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007528/0.01818, allocations: 0.491 MB / 0.8252 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.366e-05/0.01826, allocations: 83.81 kB / 0.8253 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.01831, allocations: 17.48 kB / 0.8253 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.01835, allocations: 20.48 kB / 0.8253 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of SimCode: time 1.162e-06/0.01835, allocations: 0 / 0.8253 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of Templates: time 0.01031/0.02866, allocations: 7.041 MB / 0.8322 GB, free: 12.07 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.2716174041852355]