Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001285/0.001285, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001444/0.001444, allocations: 218.4 kB / 23.03 MB, free: 4.945 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.327/3.327, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",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.002241/0.002241, allocations: 66.09 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4347, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003516/0.4382, allocations: 1.719 MB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.4398, allocations: 0.6146 MB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.4399, allocations: 0 / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.44, allocations: 11.81 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.4402, allocations: 35.84 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.4412, allocations: 370 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007311/0.4419, allocations: 0.5931 MB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.4421, allocations: 33.44 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.4425, allocations: 323.5 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.4428, allocations: 159.6 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.4429, allocations: 40 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.443, allocations: 40 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.4432, allocations: 127.6 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.4434, allocations: 179.2 kB / 1.349 GB, free: 11.72 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006632/0.4441, allocations: 0.5957 MB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4441, allocations: 0 / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4441, allocations: 4 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.4441, allocations: 3.938 kB / 1.35 GB, free: 11.12 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.001466/0.4455, allocations: 0.8378 MB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4456, allocations: 8.031 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.833e-05/0.4456, allocations: 4.188 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.4457, allocations: 38.73 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.4458, allocations: 56.66 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.4462, allocations: 280.7 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.4463, allocations: 24.31 kB / 1.351 GB, free: 9.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.4464, allocations: 36.3 kB / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.4475, allocations: 237.7 kB / 1.352 GB, free: 9.496 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4475, allocations: 4 kB / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.4475, allocations: 0 / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4475, allocations: 0 / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008129/0.4484, allocations: 119.9 kB / 1.352 GB, free: 9.375 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.4497, allocations: 0.5697 MB / 1.352 GB, free: 8.762 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.4508, allocations: 166.5 kB / 1.352 GB, free: 8.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007895/0.4516, allocations: 112.8 kB / 1.352 GB, free: 8.477 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.4516, allocations: 4 kB / 1.352 GB, free: 8.473 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.4527, allocations: 227.2 kB / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.4527, allocations: 0 / 1.353 GB, free: 8.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002791/0.4555, allocations: 0.4921 MB / 1.353 GB, free: 7.742 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.4556, allocations: 59.39 kB / 1.353 GB, free: 7.672 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/0.4561, allocations: 445.9 kB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.4562, allocations: 41.7 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4563, allocations: 105.4 kB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.4563, allocations: 47.67 kB / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.4566, allocations: 129.5 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4567, allocations: 334.7 kB / 1.354 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.4571, allocations: 219.3 kB / 1.354 GB, free: 6.332 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.4576, allocations: 277.2 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.458, allocations: 299.9 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.458, allocations: 4 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009801/0.459, allocations: 0.586 MB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/0.4591, allocations: 91.31 kB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4591, allocations: 0 / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4591, allocations: 4 kB / 1.356 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.4593, allocations: 23.97 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4593, allocations: 12.12 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.4598, allocations: 67.73 kB / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/0.4599, allocations: 55.98 kB / 1.356 GB, free: 4.82 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.0002729/0.4602, allocations: 208.6 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.4602, allocations: 39.75 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/0.4603, allocations: 47.72 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4603, allocations: 4 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4603, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4603, allocations: 3.938 kB / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.4627, allocations: 0.7396 MB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4627, allocations: 3.938 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.4628, allocations: 12 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4628, allocations: 0 / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.4628, allocations: 27.84 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4628, allocations: 0 / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4628, allocations: 0 / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/0.4647, allocations: 497.5 kB / 1.357 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.465, allocations: 173.5 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.595e-05/0.4651, allocations: 19.94 kB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.4656, allocations: 23.97 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.4656, allocations: 15.97 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.4657, allocations: 55.98 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003772/0.4661, allocations: 323.1 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4661, allocations: 0 / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004434/0.4665, allocations: 75.89 kB / 1.358 GB, free: 2.504 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.002374/0.4689, allocations: 1.033 MB / 1.359 GB, free: 1.441 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.4705, allocations: 0.5112 MB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4705, allocations: 0 / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.4713, allocations: 115.9 kB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.4717, allocations: 52.78 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.4771, allocations: 3.341 MB / 1.363 GB, free: 13.22 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.4773, allocations: 175 kB / 1.363 GB, free: 13.03 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.787e-05/0.4774, allocations: 13.44 kB / 1.363 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.4775, allocations: 35.42 kB / 1.363 GB, free: 12.98 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/0.4775, allocations: 0 / 1.363 GB, free: 12.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.5135, allocations: 8.195 MB / 1.371 GB, free: 4.859 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.04, allocations: 9.594 kB / 1.371 GB, free: 4.855 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.109932980965823] Failed to read output from testmodel.py, exit status != 0: 12.211389131029136 12.238630658 11.789949534 Calling exit ...