Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001371/0.001371, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001417/0.001417, allocations: 219 kB / 23.04 MB, free: 5.074 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7715 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.003025/0.003025, allocations: 68.91 kB / 1.118 GB, free: 39.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3825, allocations: 170 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003067/0.3856, allocations: 1.764 MB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.387, allocations: 0.6423 MB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.3871, allocations: 0 / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.3872, allocations: 15.8 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.3873, allocations: 31.78 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008426/0.3881, allocations: 370.2 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006405/0.3888, allocations: 0.5931 MB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.3889, allocations: 24.81 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.3893, allocations: 323.5 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.3896, allocations: 159.6 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.042e-05/0.3897, allocations: 44 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.3898, allocations: 40 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.3899, allocations: 123.6 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.3902, allocations: 219 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.3908, allocations: 0.5995 MB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3908, allocations: 0 / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3908, allocations: 0 / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3908, allocations: 0 / 1.289 GB, free: 6.32 MB / 0.9825 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.001358/0.3921, allocations: 0.8417 MB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3922, allocations: 11.97 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.798e-05/0.3922, allocations: 8.188 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.3923, allocations: 42.73 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.3924, allocations: 52.66 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.3929, allocations: 284.6 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.3929, allocations: 20.36 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/0.393, allocations: 32.36 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3941, allocations: 241.7 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3941, allocations: 0 / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.3941, allocations: 0 / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3941, allocations: 0 / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008204/0.3949, allocations: 123.9 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.3964, allocations: 0.6399 MB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3974, allocations: 170.5 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000753/0.3982, allocations: 104.8 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.3982, allocations: 4 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.3992, allocations: 241 kB / 1.292 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.245e-06/0.3992, allocations: 0 / 1.292 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002731/0.402, allocations: 0.4895 MB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.402, allocations: 63.41 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.4026, allocations: 445.8 kB / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.4026, allocations: 41.69 kB / 1.293 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4028, allocations: 101.4 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.4028, allocations: 35.8 kB / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.403, allocations: 149.4 kB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4032, allocations: 322.8 kB / 1.293 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.4035, allocations: 135.9 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.4038, allocations: 194.6 kB / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.4042, allocations: 303.5 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4042, allocations: 0 / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009236/0.4052, allocations: 0.5301 MB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.4053, allocations: 99.38 kB / 1.295 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4053, allocations: 0 / 1.295 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4053, allocations: 4 kB / 1.295 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4055, allocations: 27.91 kB / 1.295 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.4055, allocations: 3.984 kB / 1.295 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.406, allocations: 63.97 kB / 1.295 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/0.4061, allocations: 59.98 kB / 1.295 GB, free: 196 kB / 0.9825 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.0003419/0.4064, allocations: 212.4 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.4065, allocations: 47.66 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.4066, allocations: 39.73 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4066, allocations: 0 / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4066, allocations: 3.938 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4066, allocations: 7.938 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.4088, allocations: 0.7584 MB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4088, allocations: 0 / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.4089, allocations: 7.938 kB / 1.296 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4089, allocations: 3.938 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.4089, allocations: 31.91 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4089, allocations: 0 / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4089, allocations: 0 / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.4107, allocations: 479.5 kB / 1.296 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.4111, allocations: 177.4 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/0.4112, allocations: 23.94 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.4116, allocations: 31.95 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.4117, allocations: 7.984 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.4118, allocations: 59.97 kB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003496/0.4121, allocations: 319.1 kB / 1.297 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4121, allocations: 0 / 1.297 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004161/0.4125, allocations: 71.98 kB / 1.297 GB, free: 13.87 MB / 0.9981 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.002187/0.4147, allocations: 1.037 MB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.4161, allocations: 453.2 kB / 1.298 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4161, allocations: 384 / 1.298 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007734/0.4169, allocations: 119.9 kB / 1.298 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.4173, allocations: 41.06 kB / 1.298 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/0.4223, allocations: 3.001 MB / 1.301 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.4229, allocations: 0.7903 MB / 1.302 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.127e-05/0.4229, allocations: 9.438 kB / 1.302 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.423, allocations: 31.42 kB / 1.302 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of SimCode: time 9.31e-07/0.423, allocations: 4 kB / 1.302 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.454, allocations: 6.951 MB / 1.309 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.98, allocations: 5.281 kB / 1.309 GB, free: 1.293 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.764735071978066] Failed to read output from testmodel.py, exit status != 0: 12.770944003015757 12.175029162 11.779122503 Calling exit ...