Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.00137/0.00137, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002164/0.002164, allocations: 209.8 kB / 23.03 MB, free: 4.43 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.307/3.307, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_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.001967/0.001967, allocations: 62.92 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4725, allocations: 179 MB / 1.345 GB, free: 8 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.004246/0.4767, allocations: 1.518 MB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4785, allocations: 0.5304 MB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.4786, allocations: 0 / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.4787, allocations: 11.86 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.4788, allocations: 35.8 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.4799, allocations: 314.2 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.4807, allocations: 479.5 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.858e-05/0.4808, allocations: 8 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006274/0.4814, allocations: 287.6 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.4819, allocations: 147.6 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.482, allocations: 28 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.4821, allocations: 28 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.4823, allocations: 111.7 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.4826, allocations: 163.2 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.4832, allocations: 434.6 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4832, allocations: 3.938 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4832, allocations: 4 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.4832, allocations: 0 / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001664/0.4849, allocations: 0.7872 MB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4849, allocations: 12.03 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.838e-05/0.485, allocations: 4.188 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.008e-05/0.485, allocations: 34.75 kB / 1.35 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.4852, allocations: 52.69 kB / 1.35 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.4857, allocations: 260.7 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/0.4857, allocations: 20.36 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.544e-05/0.4858, allocations: 24.36 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.4869, allocations: 217.8 kB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4869, allocations: 0 / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.4869, allocations: 4 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4869, allocations: 0 / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.4877, allocations: 107.8 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.4882, allocations: 312.5 kB / 1.351 GB, free: 9.961 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.4893, allocations: 162.6 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.49, allocations: 101 kB / 1.351 GB, free: 9.691 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.49, allocations: 8 kB / 1.351 GB, free: 9.684 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.491, allocations: 223.1 kB / 1.351 GB, free: 9.453 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.491, allocations: 3.938 kB / 1.351 GB, free: 9.449 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002569/0.4936, allocations: 495.4 kB / 1.352 GB, free: 8.961 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.4937, allocations: 63.39 kB / 1.352 GB, free: 8.887 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/0.4942, allocations: 405.9 kB / 1.352 GB, free: 8.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-05/0.4943, allocations: 41.69 kB / 1.352 GB, free: 8.434 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4944, allocations: 97.44 kB / 1.353 GB, free: 8.336 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.4944, allocations: 43.69 kB / 1.353 GB, free: 8.293 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.4947, allocations: 129.5 kB / 1.353 GB, free: 8.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.4949, allocations: 322.8 kB / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.4952, allocations: 191.3 kB / 1.353 GB, free: 7.637 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.4956, allocations: 245.2 kB / 1.353 GB, free: 7.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.4961, allocations: 270.8 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4961, allocations: 0 / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009427/0.497, allocations: 0.5523 MB / 1.354 GB, free: 6.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-05/0.4971, allocations: 81.25 kB / 1.354 GB, free: 6.395 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4971, allocations: 3.938 kB / 1.354 GB, free: 6.391 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.4971, allocations: 4 kB / 1.354 GB, free: 6.387 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.4973, allocations: 27.97 kB / 1.354 GB, free: 6.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4973, allocations: 4.188 kB / 1.354 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.4979, allocations: 75.67 kB / 1.354 GB, free: 6.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.498, allocations: 55.98 kB / 1.354 GB, free: 6.227 MB / 1.045 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002656/0.4982, allocations: 195.7 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.4983, allocations: 39.7 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.22e-05/0.4984, allocations: 39.69 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4984, allocations: 4 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4984, allocations: 0 / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4984, allocations: 4 kB / 1.355 GB, free: 5.934 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.5007, allocations: 0.7044 MB / 1.355 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5007, allocations: 4 kB / 1.355 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.5007, allocations: 7.984 kB / 1.355 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5008, allocations: 4 kB / 1.355 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/0.5008, allocations: 15.98 kB / 1.355 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5008, allocations: 3.938 kB / 1.355 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5008, allocations: 0 / 1.355 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.5027, allocations: 493.5 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.5029, allocations: 133.5 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.503, allocations: 8 kB / 1.356 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.5035, allocations: 31.95 kB / 1.356 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.5036, allocations: 15.97 kB / 1.356 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.5036, allocations: 55.98 kB / 1.356 GB, free: 4.406 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000343/0.504, allocations: 291.1 kB / 1.356 GB, free: 4.125 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.504, allocations: 4 kB / 1.356 GB, free: 4.121 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000417/0.5044, allocations: 67.98 kB / 1.356 GB, free: 4.055 MB / 1.045 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.002225/0.5066, allocations: 1.03 MB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.508, allocations: 479.9 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.508, allocations: 0 / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007599/0.5088, allocations: 111.9 kB / 1.358 GB, free: 2.383 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.5092, allocations: 26 kB / 1.358 GB, free: 2.355 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.5142, allocations: 3.072 MB / 1.361 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.5144, allocations: 170.9 kB / 1.361 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.211e-05/0.5144, allocations: 17.08 kB / 1.361 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.5145, allocations: 23.42 kB / 1.361 GB, free: 14.88 MB / 1.061 GB Notification: Performance of SimCode: time 1.282e-06/0.5145, allocations: 0 / 1.361 GB, free: 14.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.5467, allocations: 7.59 MB / 1.369 GB, free: 7.371 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.52, allocations: 10.34 kB / 1.369 GB, free: 7.363 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.59664659993723] Failed to read output from testmodel.py, exit status != 0: 12.684275717940181 12.700419579 12.214003611 Calling exit ...