Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002601/0.002601, allocations: 198 kB / 16.14 MB, free: 6.688 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 62.17 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3687, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00298/0.3717, allocations: 1.578 MB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.373, allocations: 0.6006 MB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.3731, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3732, allocations: 3.938 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.3733, allocations: 27.86 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007068/0.374, allocations: 279.5 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.3745, allocations: 447.4 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.3746, allocations: 15.97 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.375, allocations: 311 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.3754, allocations: 159.4 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.3755, allocations: 16 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.3756, allocations: 12 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.3757, allocations: 115.5 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.376, allocations: 178.8 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.3764, allocations: 414.9 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3764, allocations: 0 / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3765, allocations: 4 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3765, allocations: 0 / 1.072 GB, free: 6.785 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.001331/0.3778, allocations: 0.8665 MB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3779, allocations: 8.031 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.378, allocations: 48.47 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.3784, allocations: 314.2 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/0.3785, allocations: 24.3 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.3786, allocations: 24.36 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3797, allocations: 213.5 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3797, allocations: 4.188 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.3797, allocations: 7.938 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3797, allocations: 3.984 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008213/0.3806, allocations: 95.92 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.381, allocations: 397.2 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.3821, allocations: 182.5 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008651/0.383, allocations: 116.8 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.383, allocations: 4 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.384, allocations: 223.1 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.384, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002854/0.3869, allocations: 490.3 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.3869, allocations: 55.41 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.3873, allocations: 413.9 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.3874, allocations: 37.7 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.3875, allocations: 97.44 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.3875, allocations: 47.44 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.3877, allocations: 121.3 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3879, allocations: 326.8 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.3881, allocations: 123.9 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.3885, allocations: 167.1 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.3889, allocations: 286.9 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3889, allocations: 0 / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000892/0.3898, allocations: 488.7 kB / 1.076 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.3899, allocations: 96.86 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3899, allocations: 4.188 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3899, allocations: 4 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.3901, allocations: 23.92 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3901, allocations: 0 / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.3907, allocations: 59.8 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/0.3908, allocations: 63.97 kB / 1.077 GB, free: 1.109 MB / 0.8262 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.0002302/0.391, allocations: 196 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/0.3911, allocations: 39.47 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/0.3911, allocations: 43.73 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3911, allocations: 0 / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3912, allocations: 4 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3912, allocations: 0 / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.3935, allocations: 0.7465 MB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3935, allocations: 4 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.3935, allocations: 7.984 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3935, allocations: 0 / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.3936, allocations: 19.92 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3936, allocations: 4 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3936, allocations: 4 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.3955, allocations: 474.7 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.3958, allocations: 204.5 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.3959, allocations: 11.98 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.3964, allocations: 35.91 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3965, allocations: 7.984 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-05/0.3965, allocations: 55.98 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000272/0.3968, allocations: 295.1 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3968, allocations: 0 / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003452/0.3972, allocations: 67.98 kB / 1.079 GB, free: 14.82 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.000148/0.3973, allocations: 127.1 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.3988, allocations: 438.5 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3988, allocations: 4 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008667/0.3997, allocations: 122.5 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.4001, allocations: 31.2 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.402, allocations: 0.6586 MB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.4026, allocations: 0.7749 MB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.664e-05/0.4027, allocations: 17.08 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.4028, allocations: 19.42 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.4028, allocations: 0 / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.01026/0.4131, allocations: 4.954 MB / 1.086 GB, free: 7.504 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)