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.0009585/0.0009585, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001414/0.001414, allocations: 169 kB / 24.28 MB, free: 276 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.982/0.982, allocations: 177.1 MB / 204.6 MB, free: 5.277 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.947/1.947, allocations: 377.8 MB / 0.6239 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 177] 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.563e-06/1.563e-06, allocations: 0 / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.926e-05, allocations: 4.219 kB / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00236/0.002389, allocations: 1.787 MB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003532, allocations: 0.6143 MB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.00363, allocations: 0 / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.00376, allocations: 16.67 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.003908, allocations: 35.78 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009596/0.004868, allocations: 373.3 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000625/0.005493, allocations: 0.6009 MB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.005601, allocations: 17.3 kB / 0.8149 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.006036, allocations: 425.2 kB / 0.8154 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.006255, allocations: 135.7 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.006359, allocations: 40 kB / 0.8155 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.227e-05/0.006411, allocations: 45.25 kB / 0.8156 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.006517, allocations: 127.6 kB / 0.8157 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.006643, allocations: 151.6 kB / 0.8158 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.007007, allocations: 430.8 kB / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.007011, allocations: 1.094 kB / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.142e-06/0.007012, allocations: 0 / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.007018, allocations: 3.938 kB / 0.8162 GB, free: 13.22 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.0009504/0.007969, allocations: 0.9473 MB / 0.8172 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.008008, allocations: 12.03 kB / 0.8172 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003146/0.008323, allocations: 60.66 kB / 0.8172 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.008614, allocations: 284.3 kB / 0.8175 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.008651, allocations: 20.36 kB / 0.8175 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.008702, allocations: 32.36 kB / 0.8176 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.009139, allocations: 217.8 kB / 0.8178 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.009148, allocations: 0.7812 kB / 0.8178 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.009174, allocations: 4.359 kB / 0.8178 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.009184, allocations: 5.5 kB / 0.8178 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.009305, allocations: 66.64 kB / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.01015, allocations: 0.6134 MB / 0.8184 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.01037, allocations: 118.7 kB / 0.8186 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.01048, allocations: 76.19 kB / 0.8186 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.0105, allocations: 7.656 kB / 0.8186 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.01072, allocations: 181.9 kB / 0.8188 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.01072, allocations: 1.062 kB / 0.8188 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005637/0.01128, allocations: 375.8 kB / 0.8192 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.01133, allocations: 71.33 kB / 0.8192 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.01162, allocations: 426.7 kB / 0.8196 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.01166, allocations: 41.69 kB / 0.8197 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.01175, allocations: 152.1 kB / 0.8198 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.01178, allocations: 51.61 kB / 0.8199 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.01191, allocations: 139.1 kB / 0.82 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.01203, allocations: 0.4923 MB / 0.8205 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.01225, allocations: 187.3 kB / 0.8207 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.01266, allocations: 249.1 kB / 0.8209 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.01292, allocations: 281 kB / 0.8212 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01293, allocations: 4 kB / 0.8212 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005903/0.01352, allocations: 0.5674 MB / 0.8217 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.01358, allocations: 91.36 kB / 0.8218 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.01359, allocations: 0 / 0.8218 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.01361, allocations: 4 kB / 0.8218 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.01374, allocations: 31.92 kB / 0.8219 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.01376, allocations: 16.16 kB / 0.8219 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.01394, allocations: 43.88 kB / 0.8219 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.014, allocations: 63.97 kB / 0.822 GB, free: 7.031 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.0001382/0.01413, allocations: 187.1 kB / 0.8222 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.01419, allocations: 55.66 kB / 0.8222 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.01424, allocations: 39.72 kB / 0.8222 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01424, allocations: 3.938 kB / 0.8222 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01425, allocations: 0 / 0.8222 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01425, allocations: 4 kB / 0.8223 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007144/0.01497, allocations: 0.6965 MB / 0.8229 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01497, allocations: 4 kB / 0.8229 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.015, allocations: 4 kB / 0.8229 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.015, allocations: 0 / 0.8229 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.01503, allocations: 23.97 kB / 0.823 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01503, allocations: 0 / 0.823 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.01503, allocations: 3.938 kB / 0.823 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.01544, allocations: 477.3 kB / 0.8234 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.01561, allocations: 165.5 kB / 0.8236 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.01567, allocations: 20 kB / 0.8236 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.01582, allocations: 15.98 kB / 0.8236 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.01586, allocations: 11.97 kB / 0.8236 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.0159, allocations: 59.97 kB / 0.8237 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001787/0.01608, allocations: 283.1 kB / 0.824 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01608, allocations: 0 / 0.824 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002367/0.01632, allocations: 75.98 kB / 0.824 GB, free: 4.855 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.0001422/0.01646, allocations: 127.8 kB / 0.8241 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.01695, allocations: 452.3 kB / 0.8246 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01695, allocations: 0 / 0.8246 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01706, allocations: 83.97 kB / 0.8247 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.01739, allocations: 59.48 kB / 0.8247 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/0.01813, allocations: 498.8 kB / 0.8252 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.884e-05/0.01821, allocations: 95.73 kB / 0.8253 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.638e-05/0.01825, allocations: 13.48 kB / 0.8253 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.0183, allocations: 20.5 kB / 0.8253 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of SimCode: time 9.82e-07/0.0183, allocations: 4 kB / 0.8253 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of Templates: time 0.008889/0.02719, allocations: 6.414 MB / 0.8316 GB, free: 12.98 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.380954610882327]