Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.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.001657/0.001657, 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.002057/0.002057, allocations: 217.5 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 33.3 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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_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.002104/0.002104, allocations: 65.59 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3839, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002681/0.3866, allocations: 1.545 MB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3879, allocations: 0.5422 MB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.3879, allocations: 0 / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.297e-05/0.388, allocations: 15.86 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.3881, allocations: 27.86 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.3889, allocations: 309.7 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.3895, allocations: 491.4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.3895, allocations: 8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.3899, allocations: 275.7 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.3902, allocations: 155.4 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.3903, allocations: 32 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.961e-05/0.3904, allocations: 24 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3905, allocations: 119.6 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.3907, allocations: 183.1 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.3912, allocations: 426.6 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3912, allocations: 0 / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3912, allocations: 0 / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3912, allocations: 4 kB / 1.331 GB, free: 13.84 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001294/0.3925, allocations: 0.8119 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3925, allocations: 8.031 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.679e-05/0.3926, allocations: 4.188 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.101e-05/0.3926, allocations: 34.73 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3927, allocations: 52.7 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.3932, allocations: 264.7 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.3932, allocations: 12.38 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/0.3933, allocations: 28.36 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3943, allocations: 221.7 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3943, allocations: 3.938 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.3943, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3943, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/0.3951, allocations: 95.92 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.3956, allocations: 364.3 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3966, allocations: 162.5 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.3974, allocations: 108.8 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3974, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.3985, allocations: 229.4 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.3985, allocations: 4 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00267/0.4011, allocations: 481.1 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.4012, allocations: 67.39 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.4016, allocations: 409.9 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/0.4017, allocations: 45.62 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.4018, allocations: 89.45 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.4019, allocations: 43.69 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.4021, allocations: 129.4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4023, allocations: 322.8 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.4026, allocations: 115.9 kB / 1.335 GB, free: 9.574 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.403, allocations: 177.8 kB / 1.335 GB, free: 9.379 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.4034, allocations: 270.5 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4034, allocations: 0 / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009162/0.4043, allocations: 0.4903 MB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.4044, allocations: 91.36 kB / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4044, allocations: 4 kB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4044, allocations: 192 / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.4046, allocations: 31.92 kB / 1.336 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.4046, allocations: 4 kB / 1.336 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/0.4052, allocations: 55.84 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.624e-05/0.4053, allocations: 55.98 kB / 1.336 GB, free: 8.324 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.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.0002766/0.4055, allocations: 196.2 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.4056, allocations: 47.66 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.122e-05/0.4057, allocations: 39.69 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4057, allocations: 4 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.4057, allocations: 3.984 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4057, allocations: 3.984 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.4081, allocations: 0.7181 MB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4081, allocations: 0 / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.4081, allocations: 7.938 kB / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4081, allocations: 0 / 1.337 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.4082, allocations: 23.97 kB / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4082, allocations: 0 / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4082, allocations: 0 / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.41, allocations: 483.4 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.4103, allocations: 129.6 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.4104, allocations: 8 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.4109, allocations: 39.97 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.4109, allocations: 7.984 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/0.411, allocations: 59.97 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003197/0.4113, allocations: 295.1 kB / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4113, allocations: 0 / 1.338 GB, free: 6.207 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000407/0.4117, allocations: 71.92 kB / 1.338 GB, free: 6.137 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.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.002256/0.414, allocations: 1.029 MB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.4154, allocations: 410.4 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4154, allocations: 0 / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008032/0.4162, allocations: 115.8 kB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.4166, allocations: 26.02 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.4213, allocations: 2.787 MB / 1.342 GB, free: 1.602 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.4217, allocations: 0.7746 MB / 1.343 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.4217, allocations: 17.03 kB / 1.343 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.4218, allocations: 27.42 kB / 1.343 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/0.4218, allocations: 0 / 1.343 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.4505, allocations: 6.366 MB / 1.349 GB, free: 10.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.2, allocations: 8.875 kB / 1.349 GB, free: 10.43 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.046542798983864] Failed to read output from testmodel.py, exit status != 0: 12.36682557396125 12.39362601 11.997305524 Calling exit ...