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.77/1.77, allocations: 285.4 MB / 298 MB, free: 6.008 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.001269/0.001268, allocations: 188.9 kB / 366.4 MB, free: 2.078 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.902/1.902, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.0008382/0.0008382, allocations: 95.31 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.401e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6584/0.6584, allocations: 115.3 MB / 0.971 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.8513, allocations: 140 MB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.8516, allocations: 71.95 kB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01577/0.8674, allocations: 5.199 MB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8674, allocations: 4 kB / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.8674, allocations: 4 kB / 1.113 GB, free: 6.523 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.0009299/0.8684, allocations: 0.6025 MB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8684, allocations: 8.031 kB / 1.113 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/0.8685, allocations: 46.55 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.8686, allocations: 35.62 kB / 1.114 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.8691, allocations: 276 kB / 1.114 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.8691, allocations: 19.98 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.8692, allocations: 16 kB / 1.114 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.8695, allocations: 166 kB / 1.114 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.8696, allocations: 3.984 kB / 1.114 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.8696, allocations: 6.703 kB / 1.114 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.8696, allocations: 4 kB / 1.114 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.8697, allocations: 57.53 kB / 1.114 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.8709, allocations: 0.5863 MB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.8712, allocations: 137.8 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.8714, allocations: 60.84 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.8714, allocations: 7.984 kB / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.8719, allocations: 221.3 kB / 1.115 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.8719, allocations: 4 kB / 1.115 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005181/0.8724, allocations: 234.6 kB / 1.115 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.8725, allocations: 59.41 kB / 1.115 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.8728, allocations: 281 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.8728, allocations: 41.7 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.873, allocations: 101 kB / 1.116 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.873, allocations: 47.44 kB / 1.116 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.8731, allocations: 8 kB / 1.116 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8732, allocations: 334.8 kB / 1.116 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.8734, allocations: 112.2 kB / 1.116 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.8737, allocations: 162.4 kB / 1.116 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.874, allocations: 169.3 kB / 1.117 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.874, allocations: 0 / 1.117 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007539/0.8747, allocations: 439.1 kB / 1.117 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.8749, allocations: 79.39 kB / 1.117 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.8749, allocations: 0 / 1.117 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.8749, allocations: 7.938 kB / 1.117 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.8751, allocations: 32.09 kB / 1.117 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.8751, allocations: 8 kB / 1.117 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.8755, allocations: 43.88 kB / 1.117 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.8756, allocations: 51.98 kB / 1.117 GB, free: 1.82 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.0001957/0.8758, allocations: 140 kB / 1.117 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.8759, allocations: 27.72 kB / 1.117 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.146e-05/0.876, allocations: 34.14 kB / 1.117 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.876, allocations: 4 kB / 1.117 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.876, allocations: 0 / 1.117 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.876, allocations: 0 / 1.117 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008273/0.8769, allocations: 0.5958 MB / 1.118 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8769, allocations: 0 / 1.118 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.8769, allocations: 9.859 kB / 1.118 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.8769, allocations: 0 / 1.118 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.877, allocations: 23.92 kB / 1.118 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.877, allocations: 0 / 1.118 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.877, allocations: 0 / 1.118 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.8774, allocations: 331 kB / 1.118 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.8777, allocations: 184.6 kB / 1.118 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.8777, allocations: 12 kB / 1.119 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.8779, allocations: 11.98 kB / 1.119 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.878, allocations: 19.97 kB / 1.119 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.878, allocations: 31.98 kB / 1.119 GB, free: 328 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001987/0.8782, allocations: 222.2 kB / 1.119 GB, free: 104 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8782, allocations: 0 / 1.119 GB, free: 104 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003213/0.8786, allocations: 65.72 kB / 1.119 GB, free: 40 kB / 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.0008748/0.8794, allocations: 0.8845 MB / 1.12 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006333/0.8801, allocations: 374.8 kB / 1.12 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.8801, allocations: 0 / 1.12 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.8803, allocations: 75.92 kB / 1.12 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.8806, allocations: 32.2 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.8815, allocations: 385.4 kB / 1.121 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.8818, allocations: 0.7556 MB / 1.121 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.882, allocations: 45.19 kB / 1.121 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.8822, allocations: 51.41 kB / 1.121 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.8822, allocations: 0 / 1.121 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.901, allocations: 6 MB / 1.127 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.9013, allocations: 199.1 kB / 1.127 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.55, allocations: 0 / 1.127 GB, free: 7.383 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)