Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 105.5 kB / 19.73 MB, free: 2.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 213.9 kB / 23.04 MB, free: 5.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.249/3.249, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.19 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4333, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003592/0.4369, allocations: 1.77 MB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.4384, allocations: 0.6337 MB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.4385, allocations: 4 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.4386, allocations: 11.88 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.4388, allocations: 35.78 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.4397, allocations: 365.4 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007059/0.4404, allocations: 0.601 MB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.4406, allocations: 25.52 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.441, allocations: 319.5 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.4414, allocations: 159.6 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.78e-05/0.4415, allocations: 40 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.14e-05/0.4415, allocations: 44 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.4417, allocations: 123.6 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.442, allocations: 215 kB / 1.35 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.4427, allocations: 0.5995 MB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4427, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4427, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.4427, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 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.001458/0.4442, allocations: 0.8495 MB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4442, allocations: 11.97 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.477e-05/0.4442, allocations: 192 / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.299e-05/0.4443, allocations: 38.75 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.4444, allocations: 60.64 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.4449, allocations: 288.6 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.445, allocations: 16.38 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.4451, allocations: 32.36 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.4462, allocations: 239.1 kB / 1.352 GB, free: 9.879 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4462, allocations: 0 / 1.352 GB, free: 9.879 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.4462, allocations: 8 kB / 1.352 GB, free: 9.871 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.4462, allocations: 3.984 kB / 1.352 GB, free: 9.867 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/0.4471, allocations: 111.9 kB / 1.352 GB, free: 9.758 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.4486, allocations: 0.6477 MB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.4497, allocations: 166.5 kB / 1.353 GB, free: 8.895 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.4505, allocations: 108.8 kB / 1.353 GB, free: 8.785 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.4506, allocations: 7.938 kB / 1.353 GB, free: 8.777 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.4517, allocations: 239.2 kB / 1.353 GB, free: 8.531 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 2.735e-06/0.4517, allocations: 3.938 kB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.00282/0.4545, allocations: 495.8 kB / 1.353 GB, free: 8.039 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.4545, allocations: 59.41 kB / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.4551, allocations: 441.9 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.4552, allocations: 45.69 kB / 1.354 GB, free: 7.477 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4553, allocations: 101.4 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.4554, allocations: 51.61 kB / 1.354 GB, free: 7.324 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.4556, allocations: 133.5 kB / 1.354 GB, free: 7.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4558, allocations: 330.8 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.4561, allocations: 135.9 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.4565, allocations: 189.9 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.457, allocations: 298.1 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.457, allocations: 4 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001005/0.458, allocations: 0.5182 MB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.4581, allocations: 99.31 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4581, allocations: 3.984 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4581, allocations: 4 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4583, allocations: 19.92 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4583, allocations: 4 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.4588, allocations: 67.73 kB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/0.4589, allocations: 64.08 kB / 1.356 GB, free: 5.383 MB / 1.045 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.0003192/0.4592, allocations: 220.5 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.4593, allocations: 35.77 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/0.4594, allocations: 39.73 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4594, allocations: 0 / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4594, allocations: 3.938 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4594, allocations: 7.922 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.4618, allocations: 0.7552 MB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4618, allocations: 0 / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.4618, allocations: 11.98 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.4618, allocations: 4 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.4619, allocations: 19.92 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4619, allocations: 7.984 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4619, allocations: 0 / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.4637, allocations: 479.5 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.4641, allocations: 177.5 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4642, allocations: 23.92 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.4647, allocations: 37.03 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.4648, allocations: 11.97 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.983e-05/0.4648, allocations: 55.97 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003889/0.4652, allocations: 319.1 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4652, allocations: 0 / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004599/0.4657, allocations: 75.92 kB / 1.358 GB, free: 3.051 MB / 1.045 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.002345/0.468, allocations: 1.038 MB / 1.359 GB, free: 1.984 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.4695, allocations: 436.2 kB / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4695, allocations: 384 / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.4703, allocations: 115.9 kB / 1.36 GB, free: 1.422 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.4707, allocations: 40.38 kB / 1.36 GB, free: 1.387 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.4762, allocations: 3.026 MB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.4767, allocations: 0.7941 MB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.4768, allocations: 13.42 kB / 1.363 GB, free: 13.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.4768, allocations: 31.42 kB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of SimCode: time 7.82e-07/0.4768, allocations: 4 kB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03289/0.5097, allocations: 6.936 MB / 1.37 GB, free: 6.469 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.83, allocations: 11.23 kB / 1.37 GB, free: 6.461 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.90859453001758] Failed to read output from testmodel.py, exit status != 0: 11.995647375006229 12.013645392 11.567280561 Calling exit ...