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.001856/0.001856, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002324/0.002324, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.147/3.147, allocations: 0.5003 GB / 0.8026 GB, free: 6.879 MB / 0.6387 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.002832/0.002832, allocations: 67.89 kB / 1.165 GB, free: 452 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181/1.184, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002987/1.187, allocations: 1.777 MB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00137/1.188, allocations: 0.6266 MB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/1.188, allocations: 0 / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/1.188, allocations: 12.34 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/1.188, allocations: 35.5 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/1.189, allocations: 363.2 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006135/1.19, allocations: 0.5947 MB / 1.344 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/1.19, allocations: 26.95 kB / 1.344 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/1.19, allocations: 317.9 kB / 1.344 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/1.191, allocations: 155.8 kB / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/1.191, allocations: 44.44 kB / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/1.191, allocations: 41.62 kB / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/1.191, allocations: 128.7 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/1.191, allocations: 221.2 kB / 1.344 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006809/1.192, allocations: 0.5945 MB / 1.345 GB, free: 13.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.192, allocations: 0.7969 kB / 1.345 GB, free: 13.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/1.192, allocations: 0 / 1.345 GB, free: 13.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.258e-06/1.192, allocations: 0 / 1.345 GB, free: 13.55 MB / 1.061 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.001317/1.193, allocations: 0.9157 MB / 1.346 GB, free: 12.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.193, allocations: 9.625 kB / 1.346 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.604e-05/1.193, allocations: 2.938 kB / 1.346 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/1.193, allocations: 44.88 kB / 1.346 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/1.193, allocations: 56.94 kB / 1.346 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/1.194, allocations: 338.2 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/1.194, allocations: 22.52 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/1.194, allocations: 26.7 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.195, allocations: 246.4 kB / 1.347 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.195, allocations: 0 / 1.347 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/1.195, allocations: 10.91 kB / 1.347 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.195, allocations: 1.75 kB / 1.347 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/1.196, allocations: 116.4 kB / 1.347 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/1.197, allocations: 0.6682 MB / 1.347 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/1.199, allocations: 180 kB / 1.348 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008/1.199, allocations: 108.1 kB / 1.348 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/1.199, allocations: 2.656 kB / 1.348 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/1.2, allocations: 231.1 kB / 1.348 GB, free: 11.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/1.2, allocations: 0 / 1.348 GB, free: 11.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002956/1.203, allocations: 0.4898 MB / 1.348 GB, free: 11.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/1.204, allocations: 62.45 kB / 1.348 GB, free: 11.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/1.204, allocations: 447.9 kB / 1.349 GB, free: 11.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/1.204, allocations: 40.83 kB / 1.349 GB, free: 11.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/1.204, allocations: 105.1 kB / 1.349 GB, free: 11.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/1.204, allocations: 37.17 kB / 1.349 GB, free: 11.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/1.205, allocations: 137.7 kB / 1.349 GB, free: 11.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/1.205, allocations: 325 kB / 1.349 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/1.205, allocations: 143 kB / 1.35 GB, free: 10.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/1.205, allocations: 187.8 kB / 1.35 GB, free: 10.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/1.206, allocations: 299.4 kB / 1.35 GB, free: 10.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.206, allocations: 4.906 kB / 1.35 GB, free: 10.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009837/1.207, allocations: 0.526 MB / 1.351 GB, free: 10.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-05/1.207, allocations: 97.62 kB / 1.351 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.207, allocations: 2.094 kB / 1.351 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/1.207, allocations: 2.375 kB / 1.351 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/1.207, allocations: 28.12 kB / 1.351 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.207, allocations: 4.406 kB / 1.351 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/1.207, allocations: 65.86 kB / 1.351 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.208, allocations: 62.08 kB / 1.351 GB, free: 10.02 MB / 1.061 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.0003104/1.208, allocations: 211.8 kB / 1.351 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/1.208, allocations: 41.42 kB / 1.351 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/1.208, allocations: 42.97 kB / 1.351 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.208, allocations: 6.141 kB / 1.351 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/1.208, allocations: 0 / 1.351 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.208, allocations: 6.328 kB / 1.351 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/1.211, allocations: 0.7883 MB / 1.352 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.211, allocations: 0 / 1.352 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/1.211, allocations: 5.266 kB / 1.352 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.211, allocations: 1.188 kB / 1.352 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/1.211, allocations: 26.14 kB / 1.352 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.211, allocations: 5.688 kB / 1.352 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.211, allocations: 0 / 1.352 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/1.213, allocations: 488.6 kB / 1.352 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/1.213, allocations: 245.9 kB / 1.353 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/1.213, allocations: 19.45 kB / 1.353 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/1.214, allocations: 33.56 kB / 1.353 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/1.214, allocations: 11.42 kB / 1.353 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/1.214, allocations: 56.12 kB / 1.353 GB, free: 8.977 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000407/1.214, allocations: 319.3 kB / 1.353 GB, free: 8.824 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.214, allocations: 0 / 1.353 GB, free: 8.824 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005207/1.215, allocations: 68 kB / 1.353 GB, free: 8.82 MB / 1.061 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.002241/1.217, allocations: 1.043 MB / 1.354 GB, free: 8.066 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001515/1.218, allocations: 436.4 kB / 1.355 GB, free: 7.852 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.218, allocations: 0 / 1.355 GB, free: 7.852 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008353/1.219, allocations: 115.9 kB / 1.355 GB, free: 7.832 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/1.22, allocations: 43.41 kB / 1.355 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/1.224, allocations: 3.018 MB / 1.358 GB, free: 5.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/1.225, allocations: 0.7819 MB / 1.358 GB, free: 5.113 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.122e-05/1.225, allocations: 17.83 kB / 1.358 GB, free: 5.105 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/1.225, allocations: 30.12 kB / 1.358 GB, free: 5.086 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/1.225, allocations: 0 / 1.358 GB, free: 5.086 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/1.253, allocations: 6.793 MB / 1.365 GB, free: 3.852 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/9.74, allocations: 14.06 kB / 1.365 GB, free: 3.844 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.486360216978937] Failed to read output from testmodel.py, exit status != 0: 9.872550241998397 9.896698057 8.699484197 Calling exit ...