Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001655/0.001655, 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.002307/0.002307, 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.518/1.518, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.023/3.023, allocations: 0.49 GB / 0.7923 GB, free: 1.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00199/0.00199, allocations: 68.19 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156/1.158, allocations: 176.1 MB / 1.322 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003035/1.161, allocations: 1.759 MB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001367/1.163, allocations: 0.6339 MB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/1.163, allocations: 0 / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/1.163, allocations: 14.77 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/1.163, allocations: 37 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008793/1.164, allocations: 362.4 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005442/1.165, allocations: 0.6019 MB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/1.165, allocations: 22.34 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/1.165, allocations: 313.5 kB / 1.325 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/1.165, allocations: 162.8 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.961e-05/1.165, allocations: 42.06 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/1.165, allocations: 41.25 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/1.166, allocations: 127 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/1.166, allocations: 216.1 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004698/1.166, allocations: 0.6002 MB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.166, allocations: 4 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/1.166, allocations: 0 / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.206e-06/1.166, allocations: 2.5 kB / 1.326 GB, free: 22.02 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.001321/1.168, allocations: 0.9149 MB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/1.168, allocations: 13.42 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.948e-05/1.168, allocations: 7.031 kB / 1.327 GB, free: 21.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.238e-05/1.168, allocations: 41.02 kB / 1.327 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/1.168, allocations: 56.5 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/1.168, allocations: 338.3 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/1.168, allocations: 23.12 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/1.168, allocations: 35.72 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.17, allocations: 234.2 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/1.17, allocations: 0 / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/1.17, allocations: 9.422 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/1.17, allocations: 1.562 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009428/1.171, allocations: 115.6 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/1.172, allocations: 0.6673 MB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.173, allocations: 182 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008415/1.174, allocations: 105.5 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/1.174, allocations: 2.828 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/1.175, allocations: 238.6 kB / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/1.175, allocations: 0 / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.003013/1.178, allocations: 0.4885 MB / 1.33 GB, free: 20.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/1.178, allocations: 61.91 kB / 1.33 GB, free: 19.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/1.179, allocations: 444.5 kB / 1.33 GB, free: 19.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.072e-05/1.179, allocations: 48.48 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/1.179, allocations: 101.6 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/1.179, allocations: 37.2 kB / 1.33 GB, free: 19.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/1.179, allocations: 140.7 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/1.18, allocations: 326.4 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/1.18, allocations: 138.9 kB / 1.331 GB, free: 19.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/1.18, allocations: 196.1 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/1.181, allocations: 304.8 kB / 1.331 GB, free: 18.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.181, allocations: 0.5938 kB / 1.331 GB, free: 18.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000921/1.181, allocations: 0.5151 MB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-05/1.182, allocations: 97.75 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.182, allocations: 2.406 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.182, allocations: 3.406 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/1.182, allocations: 20.39 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.182, allocations: 6.031 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/1.182, allocations: 67.09 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.182, allocations: 61.69 kB / 1.332 GB, free: 18.47 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.0002752/1.183, allocations: 217.8 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/1.183, allocations: 42.66 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.568e-05/1.183, allocations: 38.58 kB / 1.332 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.183, allocations: 5.75 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.183, allocations: 0 / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/1.183, allocations: 5.766 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/1.185, allocations: 0.7852 MB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.185, allocations: 4.594 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/1.186, allocations: 8.609 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.186, allocations: 1.797 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/1.186, allocations: 26.22 kB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.186, allocations: 1.219 kB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.186, allocations: 0.9062 kB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/1.188, allocations: 482.8 kB / 1.334 GB, free: 17.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/1.188, allocations: 246.9 kB / 1.334 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.854e-05/1.188, allocations: 20.39 kB / 1.334 GB, free: 17.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/1.189, allocations: 28.42 kB / 1.334 GB, free: 17.44 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/1.189, allocations: 15.75 kB / 1.334 GB, free: 17.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.189, allocations: 56.12 kB / 1.334 GB, free: 17.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004706/1.189, allocations: 319.6 kB / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.189, allocations: 0 / 1.334 GB, free: 17.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004512/1.19, allocations: 67.81 kB / 1.334 GB, free: 17.28 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.002184/1.192, allocations: 1.049 MB / 1.335 GB, free: 16.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00146/1.193, allocations: 443.8 kB / 1.336 GB, free: 16.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.193, allocations: 0 / 1.336 GB, free: 16.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/1.194, allocations: 114.7 kB / 1.336 GB, free: 16.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/1.195, allocations: 35.25 kB / 1.336 GB, free: 16.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/1.199, allocations: 3.019 MB / 1.339 GB, free: 14.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/1.2, allocations: 0.7816 MB / 1.34 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.818e-05/1.2, allocations: 24.92 kB / 1.34 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/1.2, allocations: 31.3 kB / 1.34 GB, free: 13.53 MB / 1.061 GB Notification: Performance of SimCode: time 7.22e-07/1.2, allocations: 0 / 1.34 GB, free: 13.53 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/1.229, allocations: 6.775 MB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/9.669, allocations: 11.8 kB / 1.346 GB, free: 12.31 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.306668306002393] Failed to read output from testmodel.py, exit status != 0: 9.801020419981796 9.823813696 8.653301192 Calling exit ...