Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7344 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 66.47 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003386/0.3415, allocations: 1.793 MB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3429, allocations: 0.6323 MB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.343, allocations: 0 / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3432, allocations: 3.938 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.3433, allocations: 31.84 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009556/0.3443, allocations: 338.7 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.345, allocations: 0.6321 MB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3452, allocations: 37.09 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.3458, allocations: 378.9 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.3462, allocations: 175.1 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.3463, allocations: 44 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.3464, allocations: 40 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.3465, allocations: 135.6 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.3468, allocations: 226.8 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005923/0.3474, allocations: 0.5999 MB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3474, allocations: 3.938 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3474, allocations: 4 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.3475, allocations: 7.938 kB / 1.057 GB, free: 3.559 MB / 0.8106 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.001549/0.349, allocations: 0.9014 MB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3491, allocations: 8.625 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.3491, allocations: 42.73 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3493, allocations: 52.47 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.3497, allocations: 330.2 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.3498, allocations: 20.55 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.3498, allocations: 36.36 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3509, allocations: 242.7 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3509, allocations: 0 / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.3509, allocations: 4 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3509, allocations: 0 / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.3517, allocations: 119.9 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.353, allocations: 0.6758 MB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3541, allocations: 186.5 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007627/0.3549, allocations: 117 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3549, allocations: 4 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009559/0.3559, allocations: 231.2 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.3559, allocations: 0 / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002576/0.3585, allocations: 499.5 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3585, allocations: 71.3 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.359, allocations: 441.8 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.359, allocations: 37.7 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.3591, allocations: 109.3 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.3592, allocations: 39.55 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.3594, allocations: 141.3 kB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3595, allocations: 326.8 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.3598, allocations: 143.9 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.3601, allocations: 190.4 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.3605, allocations: 291.1 kB / 1.062 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3605, allocations: 8 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008336/0.3614, allocations: 0.5162 MB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/0.3614, allocations: 100.9 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3615, allocations: 3.938 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3615, allocations: 4 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3616, allocations: 19.98 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3617, allocations: 3.984 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.3622, allocations: 75.8 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/0.3623, allocations: 59.98 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.3625, allocations: 208.3 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.3626, allocations: 43.52 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.3626, allocations: 39.8 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3626, allocations: 8 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3626, allocations: 0 / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3627, allocations: 3.938 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.3648, allocations: 0.787 MB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3648, allocations: 0 / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.3648, allocations: 7.984 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3648, allocations: 0 / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.3649, allocations: 23.92 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3649, allocations: 7.938 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3649, allocations: 0 / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.3666, allocations: 485.3 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.3668, allocations: 240.5 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.183e-05/0.3669, allocations: 19.94 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.3674, allocations: 31.95 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.3675, allocations: 15.98 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.3675, allocations: 59.97 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002808/0.3678, allocations: 315.1 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3678, allocations: 0 / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003437/0.3682, allocations: 71.92 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002101/0.3703, allocations: 1.048 MB / 1.067 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.3716, allocations: 478.4 kB / 1.067 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3716, allocations: 4 kB / 1.067 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.3723, allocations: 130.6 kB / 1.067 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3728, allocations: 41.42 kB / 1.067 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.3771, allocations: 3.108 MB / 1.07 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3775, allocations: 0.7825 MB / 1.071 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.113e-05/0.3775, allocations: 17.58 kB / 1.071 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.3776, allocations: 31.42 kB / 1.071 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3776, allocations: 0 / 1.071 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.396, allocations: 6.801 MB / 1.078 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.3962, allocations: 240.4 kB / 1.078 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.106, allocations: 4 kB / 1.078 GB, free: 13.97 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)