Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00126/0.00126, allocations: 101.5 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.001426/0.001426, allocations: 211.3 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.257/3.257, allocations: 0.49 GB / 0.7959 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001961/0.001961, allocations: 61.3 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3747, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003052/0.3777, allocations: 1.77 MB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3791, allocations: 0.6363 MB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.3792, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.3793, allocations: 11.81 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3795, allocations: 27.86 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009587/0.3804, allocations: 375 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.3811, allocations: 0.597 MB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3813, allocations: 29.5 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004767/0.3818, allocations: 315.5 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.3821, allocations: 177 kB / 1.331 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.3822, allocations: 40 kB / 1.331 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.3823, allocations: 40 kB / 1.331 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.3825, allocations: 127.6 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.3827, allocations: 219 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.3834, allocations: 0.5918 MB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3834, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3834, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.3834, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 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.001523/0.385, allocations: 0.8572 MB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.385, allocations: 12.03 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.418e-05/0.385, allocations: 192 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.3851, allocations: 42.73 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.3852, allocations: 56.66 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.3857, allocations: 276.7 kB / 1.333 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.3857, allocations: 20.38 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.661e-05/0.3858, allocations: 28.36 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.3869, allocations: 247.2 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3869, allocations: 0 / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.3869, allocations: 7.984 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.387, allocations: 4 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.3878, allocations: 115.9 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.3893, allocations: 0.6399 MB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.3904, allocations: 174.5 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000747/0.3912, allocations: 104.8 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3912, allocations: 4 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.3922, allocations: 227.2 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.175e-06/0.3922, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002876/0.3951, allocations: 0.4995 MB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3952, allocations: 55.41 kB / 1.335 GB, free: 9.496 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.3958, allocations: 449.8 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.491e-05/0.3959, allocations: 37.7 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.396, allocations: 105.4 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.3961, allocations: 35.72 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.3964, allocations: 145.4 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3965, allocations: 330.8 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.3969, allocations: 139.9 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.3972, allocations: 190.5 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.3977, allocations: 294.8 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3977, allocations: 0 / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009724/0.3987, allocations: 0.5241 MB / 1.337 GB, free: 7.172 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.3988, allocations: 103.4 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3988, allocations: 11.86 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3988, allocations: 4 kB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.399, allocations: 15.98 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.399, allocations: 4 kB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.3995, allocations: 71.88 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/0.3996, allocations: 63.97 kB / 1.337 GB, free: 6.891 MB / 1.029 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.0002723/0.3998, allocations: 204.4 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.3999, allocations: 39.72 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.4, allocations: 39.73 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4, allocations: 11.98 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4, allocations: 0 / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4, allocations: 7.922 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.4023, allocations: 0.7552 MB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4023, allocations: 0 / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.4023, allocations: 7.984 kB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4023, allocations: 0 / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.4024, allocations: 31.91 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4024, allocations: 7.938 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4024, allocations: 0 / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.4042, allocations: 478 kB / 1.339 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.4046, allocations: 181.4 kB / 1.339 GB, free: 5.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.4047, allocations: 23.92 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.4052, allocations: 27.97 kB / 1.339 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.4052, allocations: 7.984 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.936e-05/0.4053, allocations: 59.97 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004106/0.4057, allocations: 319.1 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4057, allocations: 4 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004772/0.4062, allocations: 71.92 kB / 1.339 GB, free: 4.566 MB / 1.029 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.002328/0.4085, allocations: 1.041 MB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.4099, allocations: 441.4 kB / 1.341 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4099, allocations: 384 / 1.341 GB, free: 3.043 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.4107, allocations: 111.9 kB / 1.341 GB, free: 2.934 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.4112, allocations: 37.56 kB / 1.341 GB, free: 2.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.4167, allocations: 3.024 MB / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.4172, allocations: 0.794 MB / 1.345 GB, free: 14.92 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.165e-05/0.4172, allocations: 13.42 kB / 1.345 GB, free: 14.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.4173, allocations: 27.42 kB / 1.345 GB, free: 14.88 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/0.4173, allocations: 4 kB / 1.345 GB, free: 14.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.4476, allocations: 6.95 MB / 1.352 GB, free: 7.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.01, allocations: 14.39 kB / 1.352 GB, free: 7.969 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.89643924596021] Failed to read output from testmodel.py, exit status != 0: 12.175262773002032 12.192746403 11.805966306 Calling exit ...