Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009302, allocations: 96.94 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006557/0.006557, allocations: 168.6 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.101/3.101, allocations: 473.4 MB / 0.7469 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.000416, allocations: 8.375 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3747, allocations: 162.2 MB / 1.074 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001721/0.3765, allocations: 1.236 MB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3777, allocations: 0.5813 MB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.3778, allocations: 0 / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.641e-05/0.3779, allocations: 3.938 kB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.378, allocations: 31.84 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.3787, allocations: 286.5 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.3791, allocations: 451.4 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.629e-05/0.3792, allocations: 15.98 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.3796, allocations: 307 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.3799, allocations: 159.4 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.851e-05/0.38, allocations: 12 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.38, allocations: 12 kB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.3802, allocations: 119.4 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.3804, allocations: 208.5 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.3808, allocations: 410.9 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3808, allocations: 4 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3808, allocations: 0 / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3808, allocations: 0 / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001072/0.3819, allocations: 0.7458 MB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.382, allocations: 12.03 kB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3821, allocations: 44.56 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.3825, allocations: 322.1 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.3825, allocations: 16.36 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.3826, allocations: 32.36 kB / 1.079 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.3836, allocations: 222 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3837, allocations: 4.188 kB / 1.079 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.3837, allocations: 7.938 kB / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3837, allocations: 0 / 1.079 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/0.3845, allocations: 107.9 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.385, allocations: 389.2 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.3862, allocations: 194.5 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007992/0.387, allocations: 121 kB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.387, allocations: 11.98 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009868/0.388, allocations: 239 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.388, allocations: 0 / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.00276/0.3908, allocations: 0.5086 MB / 1.081 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.3909, allocations: 59.41 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.3913, allocations: 413.9 kB / 1.081 GB, free: 20 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.401e-05/0.3914, allocations: 37.7 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.3915, allocations: 97.44 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.3915, allocations: 35.55 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.3916, allocations: 37.7 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3918, allocations: 322.8 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.392, allocations: 119.9 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.3923, allocations: 175.1 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.3927, allocations: 279.1 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3928, allocations: 4 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008437/0.3936, allocations: 492.5 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.3937, allocations: 100.9 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3937, allocations: 0 / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3938, allocations: 4 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.3939, allocations: 28.03 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.394, allocations: 8 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.3945, allocations: 67.8 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.3946, allocations: 59.97 kB / 1.083 GB, free: 14.09 MB / 0.8419 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002308/0.3948, allocations: 196 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.3949, allocations: 39.47 kB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/0.3949, allocations: 47.73 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3949, allocations: 0 / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.395, allocations: 0 / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.395, allocations: 0 / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.3973, allocations: 0.7696 MB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3973, allocations: 3.938 kB / 1.084 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.3973, allocations: 7.984 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3973, allocations: 0 / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.3974, allocations: 23.98 kB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3974, allocations: 0 / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3974, allocations: 0 / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.3993, allocations: 0.4948 MB / 1.084 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.3995, allocations: 196.5 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.3996, allocations: 15.98 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.4001, allocations: 35.91 kB / 1.085 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.4002, allocations: 7.984 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.4002, allocations: 59.97 kB / 1.085 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002914/0.4005, allocations: 299.1 kB / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4005, allocations: 0 / 1.085 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003672/0.4009, allocations: 64 kB / 1.085 GB, free: 11.75 MB / 0.8419 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001772/0.4011, allocations: 119.9 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.4025, allocations: 456.2 kB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4025, allocations: 0 / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008208/0.4033, allocations: 132.2 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.4037, allocations: 30.86 kB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.4053, allocations: 0.6749 MB / 1.086 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4057, allocations: 0.7749 MB / 1.087 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.834e-05/0.4057, allocations: 13.08 kB / 1.087 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.4058, allocations: 15.44 kB / 1.087 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.4058, allocations: 0 / 1.087 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of Templates: time 0.009023/0.4148, allocations: 4.935 MB / 1.092 GB, free: 4.434 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)