Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.0009826/0.0009826, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001557/0.001557, allocations: 169 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 1.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.973/1.973, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 0.8116 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.452e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.001961/0.001976, allocations: 1.791 MB / 0.8133 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.00343, allocations: 0.6067 MB / 0.8139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.003513, allocations: 1.688 kB / 0.8139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.003642, allocations: 11.86 kB / 0.8139 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.003759, allocations: 39.72 kB / 0.814 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.004402, allocations: 372.8 kB / 0.8143 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.004855, allocations: 0.6086 MB / 0.8149 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.004945, allocations: 21.3 kB / 0.815 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.005315, allocations: 416.4 kB / 0.8153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.005528, allocations: 143.2 kB / 0.8155 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.005594, allocations: 40 kB / 0.8155 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.324e-05/0.005658, allocations: 44 kB / 0.8156 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.005754, allocations: 129.1 kB / 0.8157 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.00587, allocations: 147.7 kB / 0.8158 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.006215, allocations: 438.7 kB / 0.8162 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006217, allocations: 1.75 kB / 0.8162 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006217, allocations: 0 / 0.8162 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.006222, allocations: 0 / 0.8162 GB, free: 11.79 MB / 0.7292 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.0008495/0.007072, allocations: 0.9413 MB / 0.8172 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.007102, allocations: 13.22 kB / 0.8172 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.007204, allocations: 68.64 kB / 0.8172 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.007478, allocations: 282.7 kB / 0.8175 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.007513, allocations: 20.89 kB / 0.8175 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.007564, allocations: 29.97 kB / 0.8176 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.007908, allocations: 216.8 kB / 0.8178 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.007916, allocations: 0.7188 kB / 0.8178 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.007937, allocations: 4.875 kB / 0.8178 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.007945, allocations: 4.375 kB / 0.8178 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.008052, allocations: 64.83 kB / 0.8178 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.008805, allocations: 0.619 MB / 0.8184 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.009003, allocations: 125.1 kB / 0.8186 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.009103, allocations: 68.81 kB / 0.8186 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.009123, allocations: 4 kB / 0.8186 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.00932, allocations: 186.8 kB / 0.8188 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.009321, allocations: 0 / 0.8188 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0005417/0.009863, allocations: 379.8 kB / 0.8192 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.009896, allocations: 63.34 kB / 0.8192 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.01018, allocations: 430.7 kB / 0.8196 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.01022, allocations: 41.69 kB / 0.8197 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.01029, allocations: 156.1 kB / 0.8198 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.01032, allocations: 39.69 kB / 0.8199 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.01046, allocations: 143.1 kB / 0.82 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01059, allocations: 0.4884 MB / 0.8205 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.0108, allocations: 187.3 kB / 0.8207 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.01102, allocations: 249.1 kB / 0.8209 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.01127, allocations: 282.9 kB / 0.8212 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01127, allocations: 4 kB / 0.8212 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005849/0.01186, allocations: 0.5806 MB / 0.8217 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.01192, allocations: 87.38 kB / 0.8218 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01192, allocations: 7.984 kB / 0.8218 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01194, allocations: 4 kB / 0.8218 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.01206, allocations: 40.11 kB / 0.8219 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.01206, allocations: 4 kB / 0.8219 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.01224, allocations: 43.86 kB / 0.8219 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.01229, allocations: 63.97 kB / 0.822 GB, free: 5.578 MB / 0.7292 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.0001287/0.01242, allocations: 187.1 kB / 0.8222 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.01247, allocations: 47.7 kB / 0.8222 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.01252, allocations: 35.73 kB / 0.8222 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01252, allocations: 3.984 kB / 0.8222 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01253, allocations: 4 kB / 0.8222 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01253, allocations: 0 / 0.8222 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.0132, allocations: 0.698 MB / 0.8229 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.0132, allocations: 4 kB / 0.8229 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.01322, allocations: 8 kB / 0.8229 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01323, allocations: 0 / 0.8229 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.01325, allocations: 19.97 kB / 0.823 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01325, allocations: 0 / 0.823 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01325, allocations: 4 kB / 0.823 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.01366, allocations: 481.3 kB / 0.8234 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.01383, allocations: 169.5 kB / 0.8236 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.01388, allocations: 16 kB / 0.8236 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.01402, allocations: 15.98 kB / 0.8236 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.01405, allocations: 15.97 kB / 0.8236 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.0141, allocations: 55.97 kB / 0.8237 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001747/0.01427, allocations: 283.1 kB / 0.824 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01427, allocations: 4 kB / 0.824 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002513/0.01452, allocations: 71.94 kB / 0.824 GB, free: 3.41 MB / 0.7292 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.702e-05/0.01462, allocations: 127.8 kB / 0.8241 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.01507, allocations: 445.5 kB / 0.8246 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01507, allocations: 384 / 0.8246 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.01519, allocations: 94.67 kB / 0.8247 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.01547, allocations: 57.61 kB / 0.8247 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.01608, allocations: 0.4904 MB / 0.8252 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.069e-05/0.01615, allocations: 91.8 kB / 0.8253 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.01619, allocations: 9.5 kB / 0.8253 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.01623, allocations: 20.48 kB / 0.8253 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of SimCode: time 9.02e-07/0.01623, allocations: 0 / 0.8253 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of Templates: time 0.007572/0.0238, allocations: 6.416 MB / 0.8316 GB, free: 11.54 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.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.437576238997281]