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.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 249.5 MB / 257 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 184.8 kB / 316.3 MB, free: 3.234 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.41/1.41, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009544/0.0009545, allocations: 96.12 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.54e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2009, allocations: 106.3 MB / 0.8854 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7454/0.9464, allocations: 134.1 MB / 1.016 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.9467, allocations: 74.95 kB / 1.016 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01446/0.9611, allocations: 5.168 MB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9612, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.9612, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.6511 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.00091/0.9621, allocations: 0.6097 MB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9622, allocations: 8.031 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.9623, allocations: 31.72 kB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.9626, allocations: 271.8 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.9627, allocations: 11.48 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.9627, allocations: 12 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001271/0.9629, allocations: 55.73 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.9631, allocations: 166.8 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.9631, allocations: 1.031 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.9632, allocations: 0 / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.9632, allocations: 4 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.9642, allocations: 0.5602 MB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.9644, allocations: 124.5 kB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.9645, allocations: 55.53 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.9646, allocations: 4.25 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.965, allocations: 226.9 kB / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.965, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003969/0.9654, allocations: 213.9 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.9654, allocations: 66.58 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.9657, allocations: 277.9 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.9657, allocations: 33.14 kB / 1.024 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.9658, allocations: 101.2 kB / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.9659, allocations: 42.7 kB / 1.024 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.9659, allocations: 4 kB / 1.024 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.966, allocations: 326.6 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.9662, allocations: 106.2 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.9664, allocations: 152.9 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.9666, allocations: 89 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9666, allocations: 0 / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005608/0.9672, allocations: 340.2 kB / 1.025 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.442e-05/0.9673, allocations: 75.27 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.9673, allocations: 7.984 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.9673, allocations: 0 / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.9675, allocations: 23.42 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.9675, allocations: 7.938 kB / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.9679, allocations: 48 kB / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.85e-05/0.968, allocations: 55.73 kB / 1.025 GB, free: 11.18 MB / 0.6511 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.0001266/0.9681, allocations: 127.8 kB / 1.025 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002912/0.9684, allocations: 219.1 kB / 1.026 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.9685, allocations: 27.7 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.9685, allocations: 28.62 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9685, allocations: 4 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.9686, allocations: 4 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9686, allocations: 0 / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.9692, allocations: 0.5534 MB / 1.026 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9692, allocations: 0 / 1.026 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.9692, allocations: 15.61 kB / 1.026 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.9692, allocations: 4 kB / 1.026 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.9693, allocations: 11.98 kB / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9693, allocations: 0 / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9693, allocations: 0 / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.9696, allocations: 323.7 kB / 1.027 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.9698, allocations: 188.1 kB / 1.027 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.9699, allocations: 11.25 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.9701, allocations: 15.55 kB / 1.027 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.9701, allocations: 11.98 kB / 1.027 GB, free: 9.773 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.9702, allocations: 35.66 kB / 1.027 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000174/0.9704, allocations: 210.8 kB / 1.027 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9704, allocations: 4 kB / 1.027 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003262/0.9707, allocations: 55.98 kB / 1.027 GB, free: 9.516 MB / 0.6511 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.00066/0.9714, allocations: 0.8702 MB / 1.028 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.9718, allocations: 356.4 kB / 1.028 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9718, allocations: 4.125 kB / 1.028 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.972, allocations: 72.53 kB / 1.028 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.9722, allocations: 28.44 kB / 1.028 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.973, allocations: 355.5 kB / 1.029 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.9733, allocations: 0.7572 MB / 1.03 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.9735, allocations: 45.19 kB / 1.03 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.9736, allocations: 50.47 kB / 1.03 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.9736, allocations: 0 / 1.03 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.999, allocations: 5.473 MB / 1.035 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.9993, allocations: 185 kB / 1.035 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.575, allocations: 4.031 kB / 1.035 GB, free: 1.469 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)