Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.47/2.47, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.00155, allocations: 184.9 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.329/2.329, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 105.3 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.498e-05/4.482e-05, allocations: 8 kB / 0.8519 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17/1.17, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3409/1.511, allocations: 139.3 MB / 1.101 GB, free: 420 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004886/1.512, allocations: 72.55 kB / 1.101 GB, free: 348 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02451/1.537, allocations: 5.159 MB / 1.106 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.096e-06/1.537, allocations: 0 / 1.106 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.551e-05/1.537, allocations: 4 kB / 1.106 GB, free: 11.26 MB / 0.7136 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.001598/1.538, allocations: 0.6064 MB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.138e-05/1.538, allocations: 8.031 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/1.539, allocations: 44.59 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007281/1.539, allocations: 272.1 kB / 1.107 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/1.539, allocations: 8 kB / 1.107 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/1.539, allocations: 16 kB / 1.107 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002466/1.54, allocations: 47.98 kB / 1.107 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/1.54, allocations: 162.2 kB / 1.107 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/1.54, allocations: 0 / 1.107 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/1.54, allocations: 3.953 kB / 1.107 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.54, allocations: 4 kB / 1.107 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/1.542, allocations: 0.5596 MB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/1.542, allocations: 126.6 kB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/1.543, allocations: 64.84 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/1.543, allocations: 0 / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007594/1.543, allocations: 215.7 kB / 1.108 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.947e-06/1.544, allocations: 0 / 1.108 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007939/1.544, allocations: 226.2 kB / 1.108 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.544, allocations: 59.39 kB / 1.108 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/1.545, allocations: 265.2 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.613e-05/1.545, allocations: 37.69 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/1.545, allocations: 101.3 kB / 1.108 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/1.545, allocations: 51.42 kB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/1.545, allocations: 0 / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002543/1.546, allocations: 328.3 kB / 1.109 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/1.546, allocations: 104.2 kB / 1.109 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/1.547, allocations: 154.2 kB / 1.109 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/1.547, allocations: 85.77 kB / 1.109 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.547, allocations: 0 / 1.109 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001238/1.548, allocations: 350.1 kB / 1.109 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/1.548, allocations: 75.39 kB / 1.109 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.548, allocations: 4 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/1.548, allocations: 0 / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/1.549, allocations: 32.09 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/1.549, allocations: 7.938 kB / 1.109 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/1.549, allocations: 43.88 kB / 1.11 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/1.55, allocations: 51.98 kB / 1.11 GB, free: 6.953 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002524/1.55, allocations: 124 kB / 1.11 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005932/1.55, allocations: 222.4 kB / 1.11 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/1.551, allocations: 27.62 kB / 1.11 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/1.551, allocations: 35.45 kB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.551, allocations: 0 / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.551, allocations: 0 / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.551, allocations: 3.984 kB / 1.11 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/1.552, allocations: 0.5509 MB / 1.111 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.552, allocations: 0 / 1.111 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/1.552, allocations: 13.56 kB / 1.111 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/1.552, allocations: 4 kB / 1.111 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/1.552, allocations: 19.91 kB / 1.111 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.552, allocations: 0 / 1.111 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.552, allocations: 0 / 1.111 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/1.553, allocations: 316.8 kB / 1.111 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/1.553, allocations: 180.7 kB / 1.111 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.554, allocations: 16 kB / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/1.554, allocations: 18.83 kB / 1.111 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.942e-05/1.554, allocations: 15.97 kB / 1.111 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/1.554, allocations: 31.98 kB / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003992/1.555, allocations: 212.6 kB / 1.111 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/1.555, allocations: 0 / 1.111 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008747/1.555, allocations: 55.91 kB / 1.111 GB, free: 5.043 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/1.557, allocations: 0.8821 MB / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001092/1.558, allocations: 353.1 kB / 1.113 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.558, allocations: 0 / 1.113 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/1.558, allocations: 71.83 kB / 1.113 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/1.559, allocations: 28.75 kB / 1.113 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/1.56, allocations: 363.4 kB / 1.113 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/1.561, allocations: 0.7592 MB / 1.114 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002617/1.561, allocations: 38.83 kB / 1.114 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/1.561, allocations: 51.42 kB / 1.114 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of SimCode: time 2.385e-06/1.561, allocations: 4 kB / 1.114 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04561/1.607, allocations: 5.463 MB / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/1.607, allocations: 184.4 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/3.933, allocations: 1.688 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)