Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.00163/0.00163, allocations: 116.8 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.001954/0.001954, allocations: 209.6 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.601/1.601, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.015/3.015, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",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.003417/0.003417, allocations: 63.91 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281/1.285, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003313/1.288, allocations: 1.763 MB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001689/1.29, allocations: 0.6246 MB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/1.29, allocations: 4 kB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/1.29, allocations: 18.77 kB / 1.343 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/1.29, allocations: 32.28 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/1.291, allocations: 358.8 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009137/1.292, allocations: 0.5967 MB / 1.344 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/1.292, allocations: 25.83 kB / 1.344 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/1.293, allocations: 318 kB / 1.344 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/1.293, allocations: 164.1 kB / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.717e-05/1.293, allocations: 44.8 kB / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-05/1.293, allocations: 41.25 kB / 1.344 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/1.294, allocations: 128.1 kB / 1.344 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/1.294, allocations: 217 kB / 1.344 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007501/1.295, allocations: 0.5943 MB / 1.345 GB, free: 13.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.295, allocations: 1.984 kB / 1.345 GB, free: 13.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.415e-06/1.295, allocations: 0 / 1.345 GB, free: 13.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.689e-06/1.295, allocations: 0 / 1.345 GB, free: 13.55 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.001503/1.296, allocations: 0.9234 MB / 1.346 GB, free: 12.76 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.296, allocations: 10.08 kB / 1.346 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.783e-05/1.296, allocations: 6.75 kB / 1.346 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/1.296, allocations: 45.25 kB / 1.346 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/1.296, allocations: 56.03 kB / 1.346 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/1.297, allocations: 334.2 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/1.297, allocations: 19.03 kB / 1.346 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.297, allocations: 31.77 kB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/1.298, allocations: 243.8 kB / 1.347 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/1.298, allocations: 0 / 1.347 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/1.298, allocations: 2.062 kB / 1.347 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.298, allocations: 2.312 kB / 1.347 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/1.299, allocations: 117.2 kB / 1.347 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/1.301, allocations: 0.6758 MB / 1.347 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/1.302, allocations: 171.6 kB / 1.348 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008395/1.303, allocations: 107.8 kB / 1.348 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/1.303, allocations: 3.266 kB / 1.348 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/1.304, allocations: 238.4 kB / 1.348 GB, free: 11.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.905e-06/1.304, allocations: 0 / 1.348 GB, free: 11.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.003112/1.307, allocations: 496.1 kB / 1.348 GB, free: 11.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.307, allocations: 61.7 kB / 1.348 GB, free: 11.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/1.308, allocations: 445.9 kB / 1.349 GB, free: 11.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.308, allocations: 39.97 kB / 1.349 GB, free: 11.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/1.308, allocations: 100.9 kB / 1.349 GB, free: 11.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/1.308, allocations: 45.17 kB / 1.349 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/1.309, allocations: 137.8 kB / 1.349 GB, free: 11.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.787e-05/1.309, allocations: 329 kB / 1.349 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/1.309, allocations: 139.8 kB / 1.35 GB, free: 10.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/1.309, allocations: 193.5 kB / 1.35 GB, free: 10.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/1.31, allocations: 294.6 kB / 1.35 GB, free: 10.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.31, allocations: 0.7188 kB / 1.35 GB, free: 10.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001044/1.311, allocations: 0.5317 MB / 1.351 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.311, allocations: 93.91 kB / 1.351 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/1.311, allocations: 2.062 kB / 1.351 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.311, allocations: 3.281 kB / 1.351 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/1.311, allocations: 30.77 kB / 1.351 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.311, allocations: 4.031 kB / 1.351 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/1.312, allocations: 66.19 kB / 1.351 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.312, allocations: 61.27 kB / 1.351 GB, free: 10.01 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.0002917/1.312, allocations: 214.8 kB / 1.351 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/1.312, allocations: 38.36 kB / 1.351 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.954e-05/1.312, allocations: 42.45 kB / 1.351 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.312, allocations: 1.891 kB / 1.351 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.312, allocations: 0.9688 kB / 1.351 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.312, allocations: 4.594 kB / 1.351 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/1.315, allocations: 0.7829 MB / 1.352 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.315, allocations: 5.125 kB / 1.352 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/1.315, allocations: 8.531 kB / 1.352 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.315, allocations: 1.344 kB / 1.352 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/1.315, allocations: 26.5 kB / 1.352 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.315, allocations: 1.953 kB / 1.352 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.315, allocations: 0 / 1.352 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/1.317, allocations: 483.8 kB / 1.352 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/1.317, allocations: 251.1 kB / 1.353 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/1.317, allocations: 19.59 kB / 1.353 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/1.318, allocations: 32.7 kB / 1.353 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/1.318, allocations: 8.016 kB / 1.353 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.569e-05/1.318, allocations: 56.58 kB / 1.353 GB, free: 8.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004088/1.318, allocations: 319.6 kB / 1.353 GB, free: 8.828 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/1.318, allocations: 4 kB / 1.353 GB, free: 8.824 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005129/1.319, allocations: 74.55 kB / 1.353 GB, free: 8.812 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.002216/1.321, allocations: 1.037 MB / 1.354 GB, free: 8.066 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00147/1.323, allocations: 439 kB / 1.355 GB, free: 7.848 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.323, allocations: 384 / 1.355 GB, free: 7.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008358/1.323, allocations: 115.2 kB / 1.355 GB, free: 7.828 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/1.324, allocations: 33.75 kB / 1.355 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/1.328, allocations: 3.028 MB / 1.358 GB, free: 5.816 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/1.329, allocations: 0.791 MB / 1.358 GB, free: 5.102 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.825e-05/1.329, allocations: 12.17 kB / 1.358 GB, free: 5.098 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/1.329, allocations: 30.91 kB / 1.358 GB, free: 5.078 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/1.329, allocations: 4 kB / 1.358 GB, free: 5.074 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/1.359, allocations: 6.794 MB / 1.365 GB, free: 3.836 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/9.883, allocations: 18.69 kB / 1.365 GB, free: 3.824 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.624678384978324] Failed to read output from testmodel.py, exit status != 0: 10.013109755993355 10.027195395 8.728955386 Calling exit ...