Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001325/0.001325, allocations: 117.4 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.001402/0.001402, allocations: 214.3 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.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002461/0.002461, allocations: 287.2 kB / 309.8 MB, free: 3.426 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.111/1.111, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003007/0.003007, allocations: 91.86 kB / 0.7346 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.5758, allocations: 95.35 MB / 0.8277 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002945/0.5788, allocations: 1.549 MB / 0.8293 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.5801, allocations: 0.549 MB / 0.8298 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.5802, allocations: 3.938 kB / 0.8298 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.5803, allocations: 8.531 kB / 0.8298 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.5804, allocations: 26.75 kB / 0.8298 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008516/0.5813, allocations: 314.6 kB / 0.8301 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.5818, allocations: 486 kB / 0.8306 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.333e-05/0.5819, allocations: 6.516 kB / 0.8306 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.5823, allocations: 274.9 kB / 0.8309 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.5826, allocations: 143 kB / 0.831 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.561e-05/0.5826, allocations: 29.42 kB / 0.831 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.681e-05/0.5827, allocations: 28.16 kB / 0.8311 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.5828, allocations: 122.3 kB / 0.8312 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.583, allocations: 180.7 kB / 0.8313 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.5835, allocations: 420.4 kB / 0.8317 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5835, allocations: 0.7969 kB / 0.8317 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5835, allocations: 0 / 0.8317 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.5835, allocations: 0 / 0.8317 GB, free: 0.8008 MB / 0.5762 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.001256/0.5848, allocations: 0.8815 MB / 0.8326 GB, free: 48 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5848, allocations: 8.969 kB / 0.8326 GB, free: 48 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.876e-05/0.5849, allocations: 5.469 kB / 0.8326 GB, free: 44 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.5849, allocations: 41.14 kB / 0.8327 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.5851, allocations: 56.17 kB / 0.8327 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.5855, allocations: 318.5 kB / 0.833 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.5855, allocations: 14.08 kB / 0.833 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.5856, allocations: 29.14 kB / 0.8331 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.5867, allocations: 209.1 kB / 0.8333 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5867, allocations: 4 kB / 0.8333 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.5867, allocations: 7.891 kB / 0.8333 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5867, allocations: 0 / 0.8333 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.5876, allocations: 104.4 kB / 0.8334 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.5882, allocations: 387.4 kB / 0.8337 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.5893, allocations: 173.5 kB / 0.8339 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008273/0.5902, allocations: 103.3 kB / 0.834 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.5902, allocations: 1.938 kB / 0.834 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.5912, allocations: 223.5 kB / 0.8342 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.5912, allocations: 0 / 0.8342 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.002992/0.5942, allocations: 493.9 kB / 0.8347 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.5943, allocations: 63.14 kB / 0.8347 GB, free: 15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.5948, allocations: 412.5 kB / 0.8351 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.5949, allocations: 41.84 kB / 0.8352 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.595, allocations: 103.2 kB / 0.8353 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.5951, allocations: 33.12 kB / 0.8353 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.5953, allocations: 129.2 kB / 0.8354 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5955, allocations: 326 kB / 0.8357 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.5957, allocations: 114.9 kB / 0.8359 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.5961, allocations: 172.6 kB / 0.836 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.5965, allocations: 281.7 kB / 0.8363 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5965, allocations: 0 / 0.8363 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009009/0.5974, allocations: 491.5 kB / 0.8368 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.5975, allocations: 88 kB / 0.8368 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.5975, allocations: 9.672 kB / 0.8369 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.5975, allocations: 0 / 0.8369 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.5977, allocations: 24.42 kB / 0.8369 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5977, allocations: 2.406 kB / 0.8369 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.5983, allocations: 59.45 kB / 0.8369 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.5984, allocations: 66.67 kB / 0.837 GB, free: 13.63 MB / 0.5919 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.000314/0.5987, allocations: 199.5 kB / 0.8372 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.5987, allocations: 36.48 kB / 0.8372 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.382e-05/0.5988, allocations: 47.7 kB / 0.8373 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5988, allocations: 8.938 kB / 0.8373 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5988, allocations: 0 / 0.8373 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5988, allocations: 0 / 0.8373 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.6013, allocations: 0.7351 MB / 0.838 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6013, allocations: 4 kB / 0.838 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.6013, allocations: 9.344 kB / 0.838 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.6013, allocations: 2.219 kB / 0.838 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.6013, allocations: 22.23 kB / 0.838 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.6013, allocations: 1.031 kB / 0.838 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6014, allocations: 0 / 0.838 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.6032, allocations: 482.4 kB / 0.8385 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.6036, allocations: 203 kB / 0.8387 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.6036, allocations: 16.5 kB / 0.8387 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.6041, allocations: 26.78 kB / 0.8387 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.6042, allocations: 15.59 kB / 0.8387 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.6042, allocations: 55.92 kB / 0.8388 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003424/0.6046, allocations: 293.8 kB / 0.8391 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6046, allocations: 0 / 0.8391 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004306/0.605, allocations: 65.45 kB / 0.8391 GB, free: 12.52 MB / 0.5919 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.00231/0.6073, allocations: 1.017 MB / 0.8401 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.6087, allocations: 419 kB / 0.8405 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6088, allocations: 0 / 0.8405 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008206/0.6096, allocations: 105.2 kB / 0.8406 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.61, allocations: 35.22 kB / 0.8407 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.6147, allocations: 2.806 MB / 0.8434 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.6152, allocations: 0.7724 MB / 0.8442 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.591e-05/0.6153, allocations: 15.16 kB / 0.8442 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.6154, allocations: 21.33 kB / 0.8442 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.6154, allocations: 1.062 kB / 0.8442 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.6429, allocations: 6.193 MB / 0.8502 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.654/9.297, allocations: 5.062 kB / 0.8502 GB, free: 7.441 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.34829690400511] Failed to read output from testmodel.py, exit status != 0: 9.421980304003228 9.438253807 8.851174532 Calling exit ...