Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001914/0.001914, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.00291/0.00291, allocations: 215 kB / 20.13 MB, free: 2.949 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.62/1.62, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.034/3.034, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_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_latest_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.003098/0.003098, allocations: 67.91 kB / 1.165 GB, free: 444 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.12, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.0031/1.123, allocations: 1.771 MB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001487/1.124, allocations: 0.6257 MB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/1.124, allocations: 1.094 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/1.125, allocations: 10.78 kB / 1.343 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/1.125, allocations: 31.78 kB / 1.343 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/1.126, allocations: 369.2 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006118/1.126, allocations: 0.5975 MB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/1.126, allocations: 26.12 kB / 1.344 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004048/1.127, allocations: 321.4 kB / 1.344 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002975/1.127, allocations: 159.4 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.608e-05/1.127, allocations: 41.25 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/1.127, allocations: 40.97 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/1.127, allocations: 124.4 kB / 1.344 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000216/1.128, allocations: 219.9 kB / 1.344 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007342/1.128, allocations: 0.6001 MB / 1.345 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.128, allocations: 0 / 1.345 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.054e-06/1.128, allocations: 0 / 1.345 GB, free: 13.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.498e-05/1.128, allocations: 2 kB / 1.345 GB, free: 13.51 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.001297/1.13, allocations: 0.9157 MB / 1.346 GB, free: 12.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.13, allocations: 8.344 kB / 1.346 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.795e-05/1.13, allocations: 2.844 kB / 1.346 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/1.13, allocations: 50.12 kB / 1.346 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/1.13, allocations: 56.72 kB / 1.346 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/1.13, allocations: 333.2 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/1.13, allocations: 19.28 kB / 1.346 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/1.13, allocations: 34.98 kB / 1.346 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/1.132, allocations: 243.5 kB / 1.347 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.132, allocations: 5.594 kB / 1.347 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/1.132, allocations: 0.8438 kB / 1.347 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.132, allocations: 2.438 kB / 1.347 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008508/1.132, allocations: 113.1 kB / 1.347 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/1.134, allocations: 0.6725 MB / 1.347 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/1.135, allocations: 174 kB / 1.348 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/1.136, allocations: 114.1 kB / 1.348 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/1.136, allocations: 1.969 kB / 1.348 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/1.137, allocations: 231.8 kB / 1.348 GB, free: 11.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/1.137, allocations: 0 / 1.348 GB, free: 11.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002906/1.14, allocations: 0.4897 MB / 1.348 GB, free: 11.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.14, allocations: 65.81 kB / 1.348 GB, free: 11.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/1.14, allocations: 444.8 kB / 1.349 GB, free: 11.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/1.14, allocations: 40.73 kB / 1.349 GB, free: 11.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/1.141, allocations: 101.2 kB / 1.349 GB, free: 11.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/1.141, allocations: 40.34 kB / 1.349 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/1.141, allocations: 133.9 kB / 1.349 GB, free: 11.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.651e-05/1.141, allocations: 329.7 kB / 1.349 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/1.141, allocations: 140 kB / 1.35 GB, free: 10.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/1.142, allocations: 190.8 kB / 1.35 GB, free: 10.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/1.142, allocations: 300 kB / 1.35 GB, free: 10.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.142, allocations: 0 / 1.35 GB, free: 10.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009291/1.143, allocations: 0.53 MB / 1.351 GB, free: 10.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.102e-05/1.143, allocations: 96.12 kB / 1.351 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.143, allocations: 2.219 kB / 1.351 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/1.143, allocations: 3.062 kB / 1.351 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/1.143, allocations: 31.94 kB / 1.351 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/1.143, allocations: 2.688 kB / 1.351 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/1.144, allocations: 66.92 kB / 1.351 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.723e-05/1.144, allocations: 57.55 kB / 1.351 GB, free: 9.98 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.0002993/1.144, allocations: 215.7 kB / 1.351 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/1.144, allocations: 41.78 kB / 1.351 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/1.144, allocations: 43.27 kB / 1.351 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.144, allocations: 2.031 kB / 1.351 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.144, allocations: 0.7188 kB / 1.351 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.144, allocations: 4.688 kB / 1.351 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/1.147, allocations: 0.7886 MB / 1.352 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.147, allocations: 0.5625 kB / 1.352 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/1.147, allocations: 5.953 kB / 1.352 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.147, allocations: 1.094 kB / 1.352 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-05/1.147, allocations: 25.38 kB / 1.352 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.147, allocations: 1.969 kB / 1.352 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.147, allocations: 7.938 kB / 1.352 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/1.149, allocations: 483.4 kB / 1.352 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/1.149, allocations: 246.8 kB / 1.353 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/1.149, allocations: 21.25 kB / 1.353 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/1.15, allocations: 35.5 kB / 1.353 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/1.15, allocations: 7.766 kB / 1.353 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.728e-05/1.15, allocations: 60.17 kB / 1.353 GB, free: 8.938 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004175/1.15, allocations: 315.5 kB / 1.353 GB, free: 8.789 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/1.15, allocations: 1.156 kB / 1.353 GB, free: 8.789 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005261/1.151, allocations: 70.84 kB / 1.353 GB, free: 8.781 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.002264/1.153, allocations: 1.038 MB / 1.354 GB, free: 8.031 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001463/1.154, allocations: 443.5 kB / 1.355 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.154, allocations: 1.125 kB / 1.355 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008209/1.155, allocations: 112 kB / 1.355 GB, free: 7.793 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/1.156, allocations: 44.16 kB / 1.355 GB, free: 7.773 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/1.161, allocations: 3.014 MB / 1.358 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/1.161, allocations: 0.783 MB / 1.358 GB, free: 5.078 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.006e-05/1.161, allocations: 16.78 kB / 1.358 GB, free: 5.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/1.161, allocations: 31.41 kB / 1.358 GB, free: 5.051 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/1.161, allocations: 0 / 1.358 GB, free: 5.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/1.191, allocations: 6.792 MB / 1.365 GB, free: 3.809 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.65/9.842, allocations: 14.64 kB / 1.365 GB, free: 3.801 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.5013525459799] Failed to read output from testmodel.py, exit status != 0: 9.974865389987826 10.002301989 8.868328456 Calling exit ...