Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001746/0.001746, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002032/0.002032, allocations: 215.2 kB / 23.04 MB, free: 5.07 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.776/2.776, allocations: 476.8 MB / 0.7715 GB, free: 4.273 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.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",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.002052/0.002052, allocations: 64.02 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3653, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003371/0.3687, allocations: 1.766 MB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3702, allocations: 0.6263 MB / 1.287 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.756e-05/0.3703, allocations: 3.938 kB / 1.287 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.3704, allocations: 15.86 kB / 1.287 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.3705, allocations: 39.78 kB / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.3715, allocations: 362.9 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.3722, allocations: 0.597 MB / 1.288 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3723, allocations: 24.81 kB / 1.288 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004658/0.3727, allocations: 323.5 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.3731, allocations: 155.6 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.53e-05/0.3731, allocations: 40 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.3732, allocations: 48 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.3734, allocations: 127.6 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.3736, allocations: 215 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006323/0.3742, allocations: 0.6002 MB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3742, allocations: 0 / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3742, allocations: 0 / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.3742, allocations: 3.938 kB / 1.289 GB, free: 6.809 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.001467/0.3757, allocations: 0.8417 MB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3758, allocations: 16.03 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.389e-05/0.3758, allocations: 192 / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.3758, allocations: 42.73 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.376, allocations: 52.7 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.3764, allocations: 284.6 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.3765, allocations: 24.36 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.3766, allocations: 32.36 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.3776, allocations: 233.7 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3777, allocations: 0 / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.3777, allocations: 8 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3777, allocations: 0 / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008088/0.3785, allocations: 119.9 kB / 1.291 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.3799, allocations: 0.6399 MB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.381, allocations: 170.4 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.3817, allocations: 108.8 kB / 1.291 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.3818, allocations: 4 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.3828, allocations: 231.1 kB / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.3828, allocations: 4 kB / 1.292 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002767/0.3856, allocations: 0.496 MB / 1.292 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.3857, allocations: 55.41 kB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.3863, allocations: 445.9 kB / 1.293 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.3864, allocations: 45.69 kB / 1.293 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3865, allocations: 101.4 kB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.3865, allocations: 43.72 kB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.3868, allocations: 137.4 kB / 1.293 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.387, allocations: 326.8 kB / 1.293 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.3873, allocations: 143.9 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.3877, allocations: 187.9 kB / 1.294 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.3881, allocations: 303.3 kB / 1.294 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.3882, allocations: 4 kB / 1.294 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001002/0.3892, allocations: 0.5145 MB / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.3893, allocations: 101.6 kB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3893, allocations: 192 / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3893, allocations: 8 kB / 1.295 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.3895, allocations: 23.91 kB / 1.295 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3895, allocations: 4 kB / 1.295 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/0.39, allocations: 63.78 kB / 1.295 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.3901, allocations: 59.98 kB / 1.295 GB, free: 0.6953 MB / 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.0003392/0.3905, allocations: 216.3 kB / 1.295 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.3905, allocations: 43.7 kB / 1.295 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.3906, allocations: 47.67 kB / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3906, allocations: 0 / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3906, allocations: 0 / 1.295 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3906, allocations: 3.938 kB / 1.295 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.393, allocations: 0.7593 MB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.393, allocations: 0 / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.393, allocations: 4 kB / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.393, allocations: 4 kB / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.3931, allocations: 27.91 kB / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3931, allocations: 0 / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3931, allocations: 0 / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.3949, allocations: 490.1 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.3953, allocations: 177.5 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.3954, allocations: 19.94 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.3959, allocations: 35.95 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.3959, allocations: 11.98 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/0.396, allocations: 51.98 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003845/0.3964, allocations: 327 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3964, allocations: 0 / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004523/0.3968, allocations: 67.98 kB / 1.297 GB, free: 14.37 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.002297/0.3991, allocations: 1.041 MB / 1.298 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.4007, allocations: 446.4 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4007, allocations: 0 / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.4014, allocations: 119.6 kB / 1.298 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.4019, allocations: 40 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/0.4069, allocations: 3.013 MB / 1.301 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.4074, allocations: 0.7864 MB / 1.302 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.972e-05/0.4075, allocations: 13.42 kB / 1.302 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.4076, allocations: 31.42 kB / 1.302 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/0.4076, allocations: 4 kB / 1.302 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/0.442, allocations: 6.938 MB / 1.309 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 14.56 kB / 1.309 GB, free: 1.781 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.63681463600369] Failed to read output from testmodel.py, exit status != 0: 12.59690220101038 12.03055631 11.651202188 Calling exit ...