Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001059/0.001059, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 190.8 kB / 16.53 MB, free: 6.391 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001788, allocations: 59.7 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3979, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00273/0.4007, allocations: 1.512 MB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.4019, allocations: 0.562 MB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.402, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.772e-05/0.4021, allocations: 7.922 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.4022, allocations: 27.8 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007259/0.4029, allocations: 307.4 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.4034, allocations: 0.4994 MB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.4035, allocations: 11.98 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.4038, allocations: 271.6 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.404, allocations: 139.6 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.513e-05/0.4041, allocations: 24 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.4042, allocations: 28 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.4044, allocations: 115.7 kB / 1.072 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.4046, allocations: 187 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.405, allocations: 427 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.405, allocations: 3.938 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.442e-06/0.405, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.405, allocations: 4 kB / 1.072 GB, free: 6.352 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.001152/0.4061, allocations: 0.8571 MB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.4062, allocations: 12.03 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.4063, allocations: 52.47 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.4067, allocations: 314.2 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.4067, allocations: 20.36 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.4068, allocations: 24.36 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.4078, allocations: 213.9 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4078, allocations: 4.125 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.4079, allocations: 7.938 kB / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4079, allocations: 4 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.4087, allocations: 103.9 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.4091, allocations: 393.2 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.4102, allocations: 173 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007829/0.411, allocations: 116.7 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.411, allocations: 3.984 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.412, allocations: 223.1 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.412, allocations: 4 kB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002618/0.4147, allocations: 482.4 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.4147, allocations: 59.41 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.4151, allocations: 413.9 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.4152, allocations: 45.58 kB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.4152, allocations: 97.44 kB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.4153, allocations: 43.44 kB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.4155, allocations: 125.3 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.4156, allocations: 322.8 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.4159, allocations: 127.9 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.4162, allocations: 166.9 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.4165, allocations: 273.2 kB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4165, allocations: 3.984 kB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007986/0.4173, allocations: 490.4 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.257e-05/0.4174, allocations: 91.31 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4175, allocations: 4.188 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4175, allocations: 11.98 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.4177, allocations: 19.92 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.4177, allocations: 4 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.4182, allocations: 55.8 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/0.4183, allocations: 71.91 kB / 1.077 GB, free: 0.6758 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.0002085/0.4185, allocations: 196.5 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.4186, allocations: 39.47 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.4186, allocations: 43.75 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.4186, allocations: 0 / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4186, allocations: 3.984 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4187, allocations: 0 / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.4209, allocations: 0.748 MB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4209, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-05/0.4209, allocations: 4 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4209, allocations: 0 / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.421, allocations: 19.97 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.421, allocations: 7.938 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.421, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.4228, allocations: 480.7 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.423, allocations: 204.4 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.522e-05/0.4231, allocations: 15.98 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.4236, allocations: 31.97 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.4236, allocations: 7.984 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.4237, allocations: 51.98 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003193/0.424, allocations: 295.1 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6.11e-07/0.4241, allocations: 0 / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004408/0.4245, allocations: 71.98 kB / 1.079 GB, free: 14.39 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.0001558/0.4247, allocations: 123.7 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.426, allocations: 442.8 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.426, allocations: 0 / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.4268, allocations: 124.2 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.4272, allocations: 33.73 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4287, allocations: 0.5513 MB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.429, allocations: 0.7707 MB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.929e-05/0.4291, allocations: 13.08 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.4291, allocations: 19.42 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.4291, allocations: 0 / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.008587/0.4377, allocations: 4.968 MB / 1.086 GB, free: 7.188 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)