Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001932/0.001932, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002376/0.002376, allocations: 212 kB / 20.13 MB, free: 2.949 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.67/1.67, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.016/3.016, allocations: 0.49 GB / 0.7923 GB, free: 1.422 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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_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.002039/0.002039, allocations: 67.91 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.099, allocations: 176.1 MB / 1.321 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002698/1.101, allocations: 1.549 MB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001191/1.102, allocations: 0.5381 MB / 1.323 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/1.103, allocations: 3.938 kB / 1.323 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.618e-05/1.103, allocations: 15.25 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/1.103, allocations: 25.52 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/1.103, allocations: 301.6 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003752/1.104, allocations: 488.1 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/1.104, allocations: 10.06 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/1.104, allocations: 266 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/1.104, allocations: 155.7 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/1.104, allocations: 25.97 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/1.105, allocations: 26.59 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/1.105, allocations: 117.4 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/1.105, allocations: 181.8 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/1.105, allocations: 428.5 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.105, allocations: 2.469 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.923e-06/1.105, allocations: 0 / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.105, allocations: 0 / 1.325 GB, free: 22.36 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001196/1.106, allocations: 0.8853 MB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.106, allocations: 11.95 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.166e-05/1.106, allocations: 2.688 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/1.106, allocations: 37.31 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/1.107, allocations: 53.41 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/1.107, allocations: 306.2 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/1.107, allocations: 21.97 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/1.107, allocations: 25.72 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/1.108, allocations: 224 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.108, allocations: 0.5938 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/1.108, allocations: 12.83 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.108, allocations: 5.375 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008271/1.109, allocations: 95.28 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/1.109, allocations: 393.3 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/1.111, allocations: 160.4 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008/1.111, allocations: 110.9 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/1.111, allocations: 5.406 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/1.112, allocations: 226.4 kB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.195e-06/1.112, allocations: 0 / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.00286/1.115, allocations: 484 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/1.115, allocations: 61.95 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/1.116, allocations: 415.2 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.459e-05/1.116, allocations: 44.14 kB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/1.116, allocations: 96.11 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/1.116, allocations: 38.33 kB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/1.116, allocations: 127 kB / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.804e-05/1.116, allocations: 326.5 kB / 1.329 GB, free: 19.83 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/1.117, allocations: 123.8 kB / 1.33 GB, free: 19.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/1.117, allocations: 170.3 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/1.117, allocations: 280 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.117, allocations: 0 / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008198/1.118, allocations: 0.4903 MB / 1.33 GB, free: 19.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/1.118, allocations: 88.52 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.118, allocations: 6.406 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.118, allocations: 3.094 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/1.118, allocations: 23.27 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/1.118, allocations: 4.547 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/1.119, allocations: 53.78 kB / 1.331 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/1.119, allocations: 61.14 kB / 1.331 GB, free: 19.18 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.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.0002222/1.119, allocations: 199.7 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/1.119, allocations: 45.83 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/1.119, allocations: 40.98 kB / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.119, allocations: 2.469 kB / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.119, allocations: 0 / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.119, allocations: 2.031 kB / 1.331 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/1.121, allocations: 0.7478 MB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.121, allocations: 0 / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/1.122, allocations: 5.109 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.122, allocations: 0.8125 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/1.122, allocations: 19.67 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.122, allocations: 0 / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.122, allocations: 6.172 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.123, allocations: 479.9 kB / 1.332 GB, free: 18.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/1.124, allocations: 207.9 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.026e-05/1.124, allocations: 14.42 kB / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004938/1.124, allocations: 28.61 kB / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/1.124, allocations: 11.94 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.818e-05/1.124, allocations: 56.66 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003697/1.125, allocations: 293.4 kB / 1.333 GB, free: 18.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.125, allocations: 0.6562 kB / 1.333 GB, free: 18.08 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004909/1.125, allocations: 68.36 kB / 1.333 GB, free: 18.07 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.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.002308/1.128, allocations: 1.027 MB / 1.334 GB, free: 17.33 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.129, allocations: 404.4 kB / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.129, allocations: 0 / 1.334 GB, free: 17.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008197/1.13, allocations: 113.4 kB / 1.334 GB, free: 17.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/1.13, allocations: 27.2 kB / 1.334 GB, free: 17.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/1.134, allocations: 2.795 MB / 1.337 GB, free: 15.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/1.134, allocations: 0.7754 MB / 1.338 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.528e-05/1.135, allocations: 14.66 kB / 1.338 GB, free: 14.53 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/1.135, allocations: 26.47 kB / 1.338 GB, free: 14.52 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.135, allocations: 0 / 1.338 GB, free: 14.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/1.161, allocations: 6.175 MB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/9.983, allocations: 7.328 kB / 1.344 GB, free: 13.33 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.69860563101247] Failed to read output from testmodel.py, exit status != 0: 10.109587706043385 10.127700836 9.018501756 Calling exit ...