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.001316/0.001316, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001426/0.001426, allocations: 216.6 kB / 23.03 MB, free: 4.918 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.769/2.769, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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.002018/0.002018, allocations: 65.72 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3442, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003487/0.3477, allocations: 1.736 MB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3494, allocations: 0.6069 MB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.3495, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.3497, allocations: 11.86 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.3499, allocations: 39.78 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3509, allocations: 366 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008246/0.3518, allocations: 0.597 MB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3519, allocations: 21.3 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.3525, allocations: 315.6 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.3529, allocations: 163.5 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.353, allocations: 48 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3531, allocations: 43.94 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3533, allocations: 127.6 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.3535, allocations: 179.2 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000683/0.3542, allocations: 0.599 MB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3542, allocations: 0 / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3542, allocations: 0 / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.3542, allocations: 4 kB / 1.289 GB, free: 5.77 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.001809/0.3561, allocations: 0.8378 MB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.3561, allocations: 12.03 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.172e-05/0.3561, allocations: 4.188 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.278e-05/0.3562, allocations: 38.73 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.3564, allocations: 52.7 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.357, allocations: 284.6 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.357, allocations: 24.36 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3571, allocations: 24.38 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.3583, allocations: 235.6 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3583, allocations: 4 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.3583, allocations: 11.98 kB / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.3583, allocations: 0 / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.3592, allocations: 115.9 kB / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.3607, allocations: 0.5619 MB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.3618, allocations: 170.5 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008229/0.3626, allocations: 112.8 kB / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.3627, allocations: 8.188 kB / 1.291 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.3638, allocations: 231.2 kB / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.3638, allocations: 0 / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002778/0.3665, allocations: 0.4887 MB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.3666, allocations: 59.41 kB / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.3671, allocations: 445.9 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.3672, allocations: 41.69 kB / 1.292 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3673, allocations: 105.4 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.3674, allocations: 43.67 kB / 1.293 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.3676, allocations: 141.4 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.3678, allocations: 330.8 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.3682, allocations: 223.2 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.3686, allocations: 271.4 kB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.3691, allocations: 291.5 kB / 1.294 GB, free: 376 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3691, allocations: 0 / 1.294 GB, free: 376 kB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001106/0.3702, allocations: 0.5938 MB / 1.294 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.94e-05/0.3703, allocations: 87.38 kB / 1.294 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3703, allocations: 4 kB / 1.294 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3703, allocations: 7.938 kB / 1.294 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3705, allocations: 19.92 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3705, allocations: 4 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.371, allocations: 67.97 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.3711, allocations: 63.97 kB / 1.295 GB, free: 15.48 MB / 0.9981 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.000283/0.3714, allocations: 216.3 kB / 1.295 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.3715, allocations: 39.72 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.911e-05/0.3716, allocations: 43.72 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3716, allocations: 0 / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3716, allocations: 0 / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3716, allocations: 3.938 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.374, allocations: 0.7513 MB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.374, allocations: 0 / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.374, allocations: 11.92 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3741, allocations: 0 / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.3741, allocations: 23.92 kB / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3741, allocations: 4 kB / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3741, allocations: 3.984 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.376, allocations: 479.5 kB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/0.3764, allocations: 177.5 kB / 1.296 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.3765, allocations: 27.92 kB / 1.296 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.377, allocations: 31.91 kB / 1.296 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.3771, allocations: 7.984 kB / 1.296 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/0.3771, allocations: 67.97 kB / 1.296 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003664/0.3775, allocations: 315.1 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 4 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000429/0.3779, allocations: 71.92 kB / 1.297 GB, free: 13.16 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.002458/0.3804, allocations: 1.052 MB / 1.298 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.3822, allocations: 0.5018 MB / 1.298 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3822, allocations: 0 / 1.298 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008312/0.383, allocations: 119.8 kB / 1.298 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.3835, allocations: 38.62 kB / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.3892, allocations: 3.335 MB / 1.302 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.3895, allocations: 175 kB / 1.302 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.3e-05/0.3895, allocations: 21.56 kB / 1.302 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.3896, allocations: 31.42 kB / 1.302 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/0.3896, allocations: 0 / 1.302 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.4234, allocations: 8.182 MB / 1.31 GB, free: 15.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.99, allocations: 12.48 kB / 1.31 GB, free: 15.54 MB / 1.014 GB " [Timeout remaining time 288] (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.7212843419984] Failed to read output from testmodel.py, exit status != 0: 12.719673811923712 12.174058432 11.816640681 Calling exit ...