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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.759/1.759, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.001087/0.001087, allocations: 173.1 kB / 371.8 MB, free: 10.25 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.697/1.697, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009953/0.0009954, allocations: 82.92 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004629, allocations: 21.08 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2293, allocations: 115.3 MB / 0.9795 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8296/1.059, allocations: 140.1 MB / 1.116 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/1.059, allocations: 72.72 kB / 1.116 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01485/1.074, allocations: 5.203 MB / 1.121 GB, free: 31.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.707e-06/1.074, allocations: 0 / 1.121 GB, free: 31.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.761e-05/1.074, allocations: 7.812 kB / 1.121 GB, free: 31.63 MB / 0.698 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.0009656/1.075, allocations: 0.649 MB / 1.122 GB, free: 31.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.075, allocations: 11.81 kB / 1.122 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.989e-05/1.075, allocations: 40.44 kB / 1.122 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/1.076, allocations: 33.84 kB / 1.122 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/1.076, allocations: 281.5 kB / 1.122 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/1.076, allocations: 14.34 kB / 1.122 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/1.076, allocations: 18.03 kB / 1.122 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/1.076, allocations: 168.5 kB / 1.123 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.076, allocations: 0 / 1.123 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/1.076, allocations: 3.953 kB / 1.123 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.076, allocations: 3.688 kB / 1.123 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/1.077, allocations: 63.09 kB / 1.123 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/1.078, allocations: 0.5868 MB / 1.123 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/1.078, allocations: 141.9 kB / 1.123 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/1.078, allocations: 3.844 kB / 1.123 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/1.078, allocations: 225.2 kB / 1.124 GB, free: 30.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/1.078, allocations: 0 / 1.124 GB, free: 30.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005309/1.079, allocations: 281.7 kB / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/1.079, allocations: 60.8 kB / 1.124 GB, free: 30.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/1.079, allocations: 279.5 kB / 1.124 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/1.079, allocations: 39.3 kB / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/1.079, allocations: 98.98 kB / 1.124 GB, free: 30.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/1.079, allocations: 54.62 kB / 1.124 GB, free: 30 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/1.079, allocations: 11.09 kB / 1.124 GB, free: 30 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.08, allocations: 333.7 kB / 1.125 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/1.08, allocations: 114.5 kB / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/1.08, allocations: 173.9 kB / 1.125 GB, free: 29.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/1.08, allocations: 169.3 kB / 1.125 GB, free: 29.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.08, allocations: 3.812 kB / 1.125 GB, free: 29.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007098/1.081, allocations: 451.3 kB / 1.126 GB, free: 29.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/1.081, allocations: 80.19 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.081, allocations: 3.875 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.081, allocations: 192 / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/1.081, allocations: 32.84 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.081, allocations: 2.859 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/1.082, allocations: 44.28 kB / 1.126 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/1.082, allocations: 55.05 kB / 1.126 GB, free: 29.36 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.000198/1.082, allocations: 196.7 kB / 1.126 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/1.082, allocations: 27.19 kB / 1.126 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/1.082, allocations: 34.16 kB / 1.126 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.082, allocations: 3.969 kB / 1.126 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.082, allocations: 0 / 1.126 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.082, allocations: 2.766 kB / 1.126 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006937/1.083, allocations: 0.5956 MB / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.083, allocations: 0 / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/1.083, allocations: 3.812 kB / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.083, allocations: 10.88 kB / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/1.083, allocations: 10.7 kB / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.083, allocations: 0 / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.083, allocations: 3.906 kB / 1.127 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004215/1.083, allocations: 326.2 kB / 1.127 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/1.084, allocations: 185.9 kB / 1.127 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/1.084, allocations: 17.48 kB / 1.127 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/1.084, allocations: 21.84 kB / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/1.084, allocations: 13.45 kB / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/1.084, allocations: 35.42 kB / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002395/1.084, allocations: 222.1 kB / 1.127 GB, free: 28.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.084, allocations: 0 / 1.127 GB, free: 28.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003226/1.085, allocations: 57.59 kB / 1.128 GB, free: 28.53 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.0008627/1.085, allocations: 0.8949 MB / 1.128 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006351/1.086, allocations: 383 kB / 1.129 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.086, allocations: 0 / 1.129 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/1.086, allocations: 79.36 kB / 1.129 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/1.087, allocations: 34.36 kB / 1.129 GB, free: 27.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/1.088, allocations: 1.657 MB / 1.13 GB, free: 26.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/1.089, allocations: 0.7602 MB / 1.131 GB, free: 25.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001373/1.089, allocations: 39.34 kB / 1.131 GB, free: 25.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/1.089, allocations: 54.84 kB / 1.131 GB, free: 25.53 MB / 0.698 GB Notification: Performance of SimCode: time 4e-07/1.089, allocations: 4 kB / 1.131 GB, free: 25.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/1.107, allocations: 5.956 MB / 1.137 GB, free: 23.23 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/1.107, allocations: 228.6 kB / 1.137 GB, free: 22.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.741, allocations: 2.812 kB / 1.137 GB, free: 22.98 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)