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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.144/2.144, 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.002322/0.002323, allocations: 184.9 kB / 361.4 MB, free: 6.805 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.394/2.394, 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.0009033/0.0009031, allocations: 92.06 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.5e-05/6.495e-05, allocations: 8 kB / 0.8519 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9651/0.9652, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3221/1.287, allocations: 139.3 MB / 1.101 GB, free: 416 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004037/1.288, allocations: 69.78 kB / 1.101 GB, free: 348 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0257/1.314, allocations: 5.172 MB / 1.106 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.596e-06/1.314, allocations: 0 / 1.106 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.861e-05/1.314, allocations: 4 kB / 1.106 GB, free: 11.25 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.001511/1.315, allocations: 0.612 MB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/1.315, allocations: 8.031 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/1.316, allocations: 36.66 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006742/1.316, allocations: 272.1 kB / 1.107 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/1.316, allocations: 14.67 kB / 1.107 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.316, allocations: 16 kB / 1.107 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000234/1.317, allocations: 51.98 kB / 1.107 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/1.317, allocations: 161.5 kB / 1.107 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.317, allocations: 0 / 1.107 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/1.317, allocations: 3.953 kB / 1.107 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.317, allocations: 10.33 kB / 1.107 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/1.319, allocations: 0.5518 MB / 1.107 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/1.319, allocations: 130.6 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/1.32, allocations: 56.84 kB / 1.108 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/1.32, allocations: 0 / 1.108 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006898/1.32, allocations: 220.1 kB / 1.108 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.625e-06/1.32, allocations: 0 / 1.108 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007548/1.321, allocations: 221.9 kB / 1.108 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/1.321, allocations: 55.41 kB / 1.108 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/1.322, allocations: 273.1 kB / 1.108 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-05/1.322, allocations: 33.7 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/1.322, allocations: 105.3 kB / 1.108 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/1.322, allocations: 43.45 kB / 1.108 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/1.322, allocations: 0 / 1.108 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001958/1.322, allocations: 322.8 kB / 1.109 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/1.323, allocations: 108.2 kB / 1.109 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/1.323, allocations: 158.2 kB / 1.109 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/1.323, allocations: 81.56 kB / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.323, allocations: 0 / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001113/1.325, allocations: 353.5 kB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/1.325, allocations: 76.33 kB / 1.11 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/1.325, allocations: 7.984 kB / 1.11 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.325, allocations: 0 / 1.11 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/1.325, allocations: 27.92 kB / 1.11 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/1.325, allocations: 5.625 kB / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/1.326, allocations: 48.06 kB / 1.11 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.326, allocations: 51.98 kB / 1.11 GB, free: 6.941 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.0002449/1.326, allocations: 132 kB / 1.11 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006042/1.327, allocations: 218.8 kB / 1.11 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/1.327, allocations: 27.62 kB / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/1.327, allocations: 34.12 kB / 1.11 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.327, allocations: 0 / 1.11 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.327, allocations: 7.375 kB / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.327, allocations: 0 / 1.11 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/1.328, allocations: 0.5495 MB / 1.111 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.328, allocations: 4 kB / 1.111 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/1.329, allocations: 7.984 kB / 1.111 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.329, allocations: 0 / 1.111 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/1.329, allocations: 11.98 kB / 1.111 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.329, allocations: 3.938 kB / 1.111 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.329, allocations: 0 / 1.111 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/1.329, allocations: 324.4 kB / 1.111 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/1.33, allocations: 186 kB / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/1.33, allocations: 16 kB / 1.111 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/1.33, allocations: 7.984 kB / 1.111 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.33, allocations: 15.98 kB / 1.111 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.482e-05/1.33, allocations: 31.97 kB / 1.111 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004055/1.331, allocations: 212.6 kB / 1.111 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.2e-07/1.331, allocations: 4 kB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007399/1.332, allocations: 51.91 kB / 1.111 GB, free: 5.031 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.001242/1.333, allocations: 0.8804 MB / 1.112 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009667/1.334, allocations: 359.2 kB / 1.113 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.334, allocations: 0 / 1.113 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/1.334, allocations: 71.83 kB / 1.113 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/1.335, allocations: 31.11 kB / 1.113 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/1.336, allocations: 363.1 kB / 1.113 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/1.337, allocations: 0.7592 MB / 1.114 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002785/1.337, allocations: 41.19 kB / 1.114 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/1.337, allocations: 53.52 kB / 1.114 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/1.337, allocations: 0 / 1.114 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/1.38, allocations: 5.467 MB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003086/1.38, allocations: 187.5 kB / 1.119 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/3.525, allocations: 0 / 1.119 GB, free: 12.82 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)