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.491/1.491, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001658/0.001658, allocations: 170.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 0.572 GB, free: 10.67 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.0008749/0.0008748, allocations: 100.5 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.123e-05/5.138e-05, allocations: 4 kB / 0.7881 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.244, allocations: 106.3 MB / 0.8919 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.746/0.99, allocations: 133.8 MB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.9903, allocations: 75.02 kB / 1.023 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.015/1.005, allocations: 5.2 MB / 1.028 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 9.91e-07/1.005, allocations: 0 / 1.028 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.54e-05/1.005, allocations: 4 kB / 1.028 GB, free: 12.46 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.0009475/1.006, allocations: 0.6033 MB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.006, allocations: 8.031 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/1.006, allocations: 41.61 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.988e-05/1.007, allocations: 35.72 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/1.007, allocations: 276.8 kB / 1.029 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/1.007, allocations: 15.48 kB / 1.029 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/1.007, allocations: 19.5 kB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/1.007, allocations: 161.4 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.007, allocations: 3.953 kB / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/1.007, allocations: 7.375 kB / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.008, allocations: 0 / 1.029 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/1.008, allocations: 61.09 kB / 1.029 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/1.009, allocations: 0.5893 MB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/1.009, allocations: 141.5 kB / 1.03 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/1.009, allocations: 57.34 kB / 1.03 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/1.009, allocations: 7.969 kB / 1.03 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/1.01, allocations: 222.8 kB / 1.03 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/1.01, allocations: 0 / 1.03 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.000479/1.01, allocations: 234.4 kB / 1.03 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/1.01, allocations: 58.84 kB / 1.03 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/1.011, allocations: 286.9 kB / 1.03 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/1.011, allocations: 36.64 kB / 1.03 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/1.011, allocations: 107.9 kB / 1.031 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/1.011, allocations: 50.31 kB / 1.031 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/1.011, allocations: 11.38 kB / 1.031 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.011, allocations: 321.8 kB / 1.031 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/1.011, allocations: 113.5 kB / 1.031 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/1.012, allocations: 166.9 kB / 1.031 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/1.012, allocations: 166 kB / 1.031 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.012, allocations: 0 / 1.031 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009269/1.013, allocations: 443.4 kB / 1.032 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/1.013, allocations: 74.58 kB / 1.032 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.013, allocations: 4.188 kB / 1.032 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.013, allocations: 4 kB / 1.032 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/1.013, allocations: 35.34 kB / 1.032 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.013, allocations: 0 / 1.032 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/1.014, allocations: 51.66 kB / 1.032 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.014, allocations: 55.92 kB / 1.032 GB, free: 8.406 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.0001943/1.014, allocations: 149 kB / 1.032 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/1.014, allocations: 27.62 kB / 1.032 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/1.014, allocations: 29.95 kB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.014, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.014, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.014, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/1.015, allocations: 0.5947 MB / 1.033 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.015, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/1.015, allocations: 15.98 kB / 1.033 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.015, allocations: 0 / 1.033 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/1.015, allocations: 15.55 kB / 1.033 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.015, allocations: 0 / 1.033 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.015, allocations: 3.953 kB / 1.033 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/1.016, allocations: 328 kB / 1.033 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/1.016, allocations: 186.7 kB / 1.033 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/1.016, allocations: 10.62 kB / 1.033 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/1.016, allocations: 19.17 kB / 1.033 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.017, allocations: 19.47 kB / 1.033 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/1.017, allocations: 31.94 kB / 1.033 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004117/1.017, allocations: 225.6 kB / 1.034 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/1.017, allocations: 0 / 1.034 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006245/1.018, allocations: 55.36 kB / 1.034 GB, free: 6.863 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.001268/1.019, allocations: 0.8812 MB / 1.035 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001064/1.02, allocations: 379.1 kB / 1.035 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.02, allocations: 0 / 1.035 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/1.02, allocations: 69.67 kB / 1.035 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/1.021, allocations: 26.92 kB / 1.035 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/1.022, allocations: 375.9 kB / 1.035 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/1.023, allocations: 0.7647 MB / 1.036 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000274/1.023, allocations: 41.19 kB / 1.036 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/1.023, allocations: 59.28 kB / 1.036 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of SimCode: time 2.845e-06/1.023, allocations: 0 / 1.036 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/1.051, allocations: 5.996 MB / 1.042 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003163/1.051, allocations: 203.1 kB / 1.042 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.65, allocations: 0 / 1.042 GB, free: 14.34 MB / 0.6667 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)