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 1.71/1.71, allocations: 285.4 MB / 298 MB, free: 6 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.001454/0.001454, allocations: 180.8 kB / 366.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.1 MB / 0.6248 GB, free: 7.766 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.0008514/0.0008514, allocations: 97.58 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.94e-05, allocations: 8 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6277, allocations: 115.3 MB / 0.971 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.8061, allocations: 140 MB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.8063, allocations: 72.89 kB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01447/0.8208, allocations: 5.192 MB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8208, allocations: 3.938 kB / 1.113 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8209, allocations: 8 kB / 1.113 GB, free: 6.637 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.000885/0.8218, allocations: 0.6025 MB / 1.113 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.8218, allocations: 8.031 kB / 1.113 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.8219, allocations: 42.55 kB / 1.113 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.396e-05/0.822, allocations: 35.62 kB / 1.114 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.8223, allocations: 268 kB / 1.114 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.8224, allocations: 21.88 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.8224, allocations: 19.98 kB / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.8227, allocations: 163.2 kB / 1.114 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.8227, allocations: 0 / 1.114 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.8228, allocations: 14.95 kB / 1.114 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8228, allocations: 0 / 1.114 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.8229, allocations: 55.98 kB / 1.114 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.824, allocations: 0.5941 MB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.8243, allocations: 130.7 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.8244, allocations: 60.84 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.8244, allocations: 4 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.8248, allocations: 221.6 kB / 1.115 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.8248, allocations: 0 / 1.115 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004462/0.8253, allocations: 239.6 kB / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.8254, allocations: 67.38 kB / 1.115 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.8256, allocations: 274.7 kB / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.8257, allocations: 41.69 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.8258, allocations: 101 kB / 1.116 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.8258, allocations: 43.45 kB / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.8259, allocations: 11.98 kB / 1.116 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.826, allocations: 330.8 kB / 1.116 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.8263, allocations: 116.2 kB / 1.116 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.8265, allocations: 166.4 kB / 1.116 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.8268, allocations: 170.7 kB / 1.117 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.8268, allocations: 0 / 1.117 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007142/0.8275, allocations: 443 kB / 1.117 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.577e-05/0.8276, allocations: 75.39 kB / 1.117 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.8276, allocations: 4 kB / 1.117 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.8276, allocations: 0 / 1.117 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.8278, allocations: 31.91 kB / 1.117 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.8278, allocations: 4.125 kB / 1.117 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.8281, allocations: 51.88 kB / 1.117 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.8282, allocations: 51.98 kB / 1.117 GB, free: 1.938 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.0001313/0.8284, allocations: 137.4 kB / 1.117 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.8284, allocations: 27.7 kB / 1.117 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.8285, allocations: 36.95 kB / 1.117 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8285, allocations: 0 / 1.117 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8285, allocations: 0 / 1.117 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.8285, allocations: 0 / 1.117 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007275/0.8292, allocations: 0.5957 MB / 1.118 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8293, allocations: 0 / 1.118 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.8293, allocations: 11.98 kB / 1.118 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.8293, allocations: 0 / 1.118 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.8294, allocations: 13.86 kB / 1.118 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.8294, allocations: 4 kB / 1.118 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8294, allocations: 3.938 kB / 1.118 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.8298, allocations: 328.8 kB / 1.118 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.83, allocations: 188.5 kB / 1.118 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.8301, allocations: 12 kB / 1.118 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.8302, allocations: 11.98 kB / 1.118 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.8303, allocations: 19.97 kB / 1.118 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.8304, allocations: 35.97 kB / 1.119 GB, free: 448 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002082/0.8306, allocations: 226.2 kB / 1.119 GB, free: 220 kB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8306, allocations: 0 / 1.119 GB, free: 220 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003199/0.8309, allocations: 59.94 kB / 1.119 GB, free: 160 kB / 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.0007521/0.8317, allocations: 0.8867 MB / 1.12 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005495/0.8322, allocations: 373 kB / 1.12 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8322, allocations: 0 / 1.12 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.8324, allocations: 71.97 kB / 1.12 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.8326, allocations: 27.61 kB / 1.12 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.8334, allocations: 387.1 kB / 1.12 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.8337, allocations: 0.7556 MB / 1.121 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.8339, allocations: 39.7 kB / 1.121 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.834, allocations: 55.41 kB / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.8341, allocations: 1.219 kB / 1.121 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.851, allocations: 5.984 MB / 1.127 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.8513, allocations: 190.9 kB / 1.127 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.443, allocations: 1.312 kB / 1.127 GB, free: 7.516 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)