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.911/1.911, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.00195/0.00195, allocations: 176.9 kB / 361.4 MB, free: 6.836 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.413/2.413, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008706/0.0008704, allocations: 94.7 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.055e-05, allocations: 8 kB / 0.8519 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9212/0.9212, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/1.257, allocations: 139.3 MB / 1.101 GB, free: 492 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/1.257, allocations: 73.52 kB / 1.101 GB, free: 420 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02311/1.28, allocations: 5.169 MB / 1.106 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.334e-06/1.281, allocations: 3.938 kB / 1.106 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.693e-05/1.281, allocations: 4 kB / 1.106 GB, free: 11.32 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.001592/1.282, allocations: 0.6025 MB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.511e-05/1.282, allocations: 8.875 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/1.283, allocations: 36.66 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007189/1.283, allocations: 280 kB / 1.107 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/1.283, allocations: 9.875 kB / 1.107 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.283, allocations: 19.98 kB / 1.107 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000235/1.284, allocations: 51.98 kB / 1.107 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/1.284, allocations: 150.4 kB / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/1.284, allocations: 0 / 1.107 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/1.284, allocations: 11.94 kB / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/1.284, allocations: 0.6562 kB / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/1.286, allocations: 0.5556 MB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/1.287, allocations: 130.7 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/1.287, allocations: 61.47 kB / 1.108 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/1.287, allocations: 0 / 1.108 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006513/1.287, allocations: 213.2 kB / 1.108 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.885e-06/1.287, allocations: 7.281 kB / 1.108 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007614/1.288, allocations: 226.7 kB / 1.108 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/1.288, allocations: 59.41 kB / 1.108 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/1.289, allocations: 265.1 kB / 1.108 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.289, allocations: 33.7 kB / 1.108 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/1.289, allocations: 105.3 kB / 1.108 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/1.289, allocations: 43.45 kB / 1.108 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/1.289, allocations: 4 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.289, allocations: 322.8 kB / 1.109 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/1.29, allocations: 112.1 kB / 1.109 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/1.29, allocations: 154.2 kB / 1.109 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/1.291, allocations: 79.33 kB / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.291, allocations: 0 / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001212/1.292, allocations: 347.6 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.292, allocations: 75.39 kB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.292, allocations: 4 kB / 1.11 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/1.292, allocations: 4 kB / 1.11 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/1.292, allocations: 27.91 kB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/1.292, allocations: 8.188 kB / 1.11 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/1.293, allocations: 43.81 kB / 1.11 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/1.293, allocations: 58.53 kB / 1.11 GB, free: 7.023 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.0002947/1.293, allocations: 132 kB / 1.11 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006559/1.294, allocations: 215.4 kB / 1.11 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/1.294, allocations: 31.62 kB / 1.11 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/1.294, allocations: 30.14 kB / 1.11 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.294, allocations: 3.984 kB / 1.11 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/1.294, allocations: 4 kB / 1.11 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.294, allocations: 3.984 kB / 1.11 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.296, allocations: 0.5495 MB / 1.111 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.296, allocations: 0 / 1.111 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-05/1.296, allocations: 7.984 kB / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/1.296, allocations: 8 kB / 1.111 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/1.296, allocations: 7.984 kB / 1.111 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/1.296, allocations: 0 / 1.111 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.296, allocations: 7.875 kB / 1.111 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008474/1.297, allocations: 323 kB / 1.111 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/1.298, allocations: 180.7 kB / 1.111 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.298, allocations: 15.98 kB / 1.111 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/1.298, allocations: 4 kB / 1.111 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/1.298, allocations: 29.09 kB / 1.111 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/1.298, allocations: 23.98 kB / 1.111 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005657/1.299, allocations: 216.6 kB / 1.111 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/1.299, allocations: 0 / 1.111 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008842/1.3, allocations: 51.91 kB / 1.111 GB, free: 5.113 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.001429/1.301, allocations: 0.886 MB / 1.112 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00113/1.302, allocations: 350.9 kB / 1.113 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.302, allocations: 3.938 kB / 1.113 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/1.303, allocations: 67.89 kB / 1.113 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/1.303, allocations: 24.77 kB / 1.113 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/1.305, allocations: 367.2 kB / 1.113 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/1.306, allocations: 0.7687 MB / 1.114 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000302/1.306, allocations: 45.19 kB / 1.114 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/1.307, allocations: 47.41 kB / 1.114 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of SimCode: time 1.713e-06/1.307, allocations: 0 / 1.114 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/1.351, allocations: 5.467 MB / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/1.352, allocations: 178.3 kB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/3.568, allocations: 0 / 1.119 GB, free: 12.91 MB / 0.7292 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)