Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.548/1.548, allocations: 251.9 MB / 266.8 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 185.3 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008339/0.000834, allocations: 91.52 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003283, allocations: 11.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2296, allocations: 106.3 MB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.4122, allocations: 133.9 MB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.4126, allocations: 79.95 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.4282, allocations: 5.203 MB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4283, allocations: 0 / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.4283, allocations: 4 kB / 1.036 GB, free: 4.383 MB / 0.6823 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.001/0.4293, allocations: 0.6535 MB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4294, allocations: 8.031 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/0.4295, allocations: 42.55 kB / 1.037 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/0.4296, allocations: 35.62 kB / 1.037 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.43, allocations: 283 kB / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.43, allocations: 15.98 kB / 1.037 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.4301, allocations: 20 kB / 1.037 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.4304, allocations: 166.4 kB / 1.037 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4304, allocations: 3.953 kB / 1.037 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.4305, allocations: 3.984 kB / 1.037 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4305, allocations: 7.984 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.4306, allocations: 62.03 kB / 1.037 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.4318, allocations: 0.5902 MB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.4321, allocations: 130.7 kB / 1.038 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.4322, allocations: 0 / 1.038 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004234/0.4326, allocations: 232.1 kB / 1.038 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.4326, allocations: 4 kB / 1.038 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0005954/0.4332, allocations: 275.8 kB / 1.039 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.4333, allocations: 67.39 kB / 1.039 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.4336, allocations: 279.6 kB / 1.039 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.4336, allocations: 41.7 kB / 1.039 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.17e-05/0.4337, allocations: 101 kB / 1.039 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.4338, allocations: 43.47 kB / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.4338, allocations: 8 kB / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4339, allocations: 330.8 kB / 1.039 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.4342, allocations: 116.2 kB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.4345, allocations: 174.4 kB / 1.04 GB, free: 488 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.4348, allocations: 171.2 kB / 1.04 GB, free: 304 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4348, allocations: 4 kB / 1.04 GB, free: 300 kB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008203/0.4357, allocations: 451.2 kB / 1.04 GB, free: 15.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/0.4357, allocations: 79.38 kB / 1.04 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4358, allocations: 0 / 1.04 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4358, allocations: 4 kB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.4359, allocations: 31.92 kB / 1.04 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.436, allocations: 11.97 kB / 1.04 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.4363, allocations: 43.98 kB / 1.04 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.4364, allocations: 55.97 kB / 1.04 GB, free: 15.6 MB / 0.698 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 () * Number of clocked 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.0002139/0.4367, allocations: 193.7 kB / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.4367, allocations: 31.56 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.4368, allocations: 30.36 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4368, allocations: 0 / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4368, allocations: 3.984 kB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4368, allocations: 0 / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.4376, allocations: 0.6036 MB / 1.041 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4376, allocations: 0 / 1.041 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.4376, allocations: 11.92 kB / 1.041 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4376, allocations: 4 kB / 1.041 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.4377, allocations: 7.984 kB / 1.041 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4377, allocations: 0 / 1.041 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4377, allocations: 0 / 1.041 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.4381, allocations: 341.1 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.4383, allocations: 180.7 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.4384, allocations: 12 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.4386, allocations: 15.98 kB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.4386, allocations: 11.98 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.4387, allocations: 31.97 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002055/0.4389, allocations: 231 kB / 1.042 GB, free: 13.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4389, allocations: 0 / 1.042 GB, free: 13.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003296/0.4392, allocations: 59.84 kB / 1.042 GB, free: 13.75 MB / 0.698 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) * Number of clocked states: 0 () * 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.0007871/0.44, allocations: 0.8858 MB / 1.043 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005942/0.4406, allocations: 380.1 kB / 1.043 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4407, allocations: 4.375 kB / 1.043 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.4408, allocations: 79.95 kB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.4411, allocations: 26.67 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.4425, allocations: 1.652 MB / 1.045 GB, free: 10.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.4428, allocations: 0.7672 MB / 1.046 GB, free: 9.824 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.443, allocations: 41.41 kB / 1.046 GB, free: 9.781 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.4431, allocations: 57.38 kB / 1.046 GB, free: 9.73 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.4431, allocations: 0 / 1.046 GB, free: 9.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.4628, allocations: 5.954 MB / 1.052 GB, free: 3.996 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/0.4631, allocations: 226.5 kB / 1.052 GB, free: 3.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.134, allocations: 0 / 1.052 GB, free: 3.75 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)