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.001394/0.001394, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001632/0.001632, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002582/0.002582, allocations: 286.2 kB / 313.5 MB, free: 2.621 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.323/1.323, allocations: 180.6 MB / 0.5377 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 178] 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.004605/0.004605, allocations: 96.5 kB / 0.7402 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1799, allocations: 95.39 MB / 0.8334 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002815/0.1827, allocations: 1.523 MB / 0.8349 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.184, allocations: 0.5282 MB / 0.8354 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.1841, allocations: 0 / 0.8354 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.1842, allocations: 15.86 kB / 0.8354 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.1844, allocations: 27.84 kB / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.1852, allocations: 319.3 kB / 0.8357 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005965/0.1858, allocations: 483.5 kB / 0.8362 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.1859, allocations: 7.984 kB / 0.8362 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.1863, allocations: 283.6 kB / 0.8365 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.1867, allocations: 147.6 kB / 0.8366 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1868, allocations: 28 kB / 0.8366 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.1869, allocations: 28 kB / 0.8367 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.187, allocations: 111.7 kB / 0.8368 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1872, allocations: 155.3 kB / 0.8369 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1877, allocations: 430.7 kB / 0.8373 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1877, allocations: 4 kB / 0.8373 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1877, allocations: 3.938 kB / 0.8373 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.1877, allocations: 0 / 0.8373 GB, free: 4.305 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.001306/0.189, allocations: 0.7989 MB / 0.8381 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1891, allocations: 9.344 kB / 0.8381 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.533e-05/0.1891, allocations: 4.188 kB / 0.8381 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.1891, allocations: 34.73 kB / 0.8382 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.1892, allocations: 56.7 kB / 0.8382 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1897, allocations: 260.7 kB / 0.8385 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.1897, allocations: 16.36 kB / 0.8385 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.1898, allocations: 28.36 kB / 0.8385 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1908, allocations: 217.8 kB / 0.8387 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1908, allocations: 0 / 0.8387 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.1909, allocations: 3.984 kB / 0.8387 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1909, allocations: 4 kB / 0.8387 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.1917, allocations: 99.92 kB / 0.8388 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.1921, allocations: 304.5 kB / 0.8391 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1932, allocations: 162.4 kB / 0.8393 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007886/0.194, allocations: 104.8 kB / 0.8394 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.194, allocations: 3.984 kB / 0.8394 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009939/0.195, allocations: 225.7 kB / 0.8396 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.195, allocations: 4 kB / 0.8396 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002674/0.1977, allocations: 493 kB / 0.8401 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.1977, allocations: 59.41 kB / 0.8401 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.1982, allocations: 417.8 kB / 0.8405 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.1982, allocations: 37.7 kB / 0.8405 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.1983, allocations: 97.44 kB / 0.8406 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1984, allocations: 39.67 kB / 0.8407 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.1986, allocations: 129.5 kB / 0.8408 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1987, allocations: 322.8 kB / 0.8411 GB, free: 216 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.1991, allocations: 191.3 kB / 0.8413 GB, free: 12 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.1995, allocations: 247 kB / 0.8415 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.1999, allocations: 275.6 kB / 0.8418 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1999, allocations: 0 / 0.8418 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009477/0.2008, allocations: 0.5494 MB / 0.8423 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/0.2009, allocations: 81.72 kB / 0.8424 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2009, allocations: 12.17 kB / 0.8424 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.2009, allocations: 4 kB / 0.8424 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.2011, allocations: 27.91 kB / 0.8424 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.2011, allocations: 4 kB / 0.8424 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.2017, allocations: 59.78 kB / 0.8425 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.771e-05/0.2018, allocations: 59.98 kB / 0.8426 GB, free: 14.61 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.0002457/0.202, allocations: 196.4 kB / 0.8427 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.2021, allocations: 39.7 kB / 0.8428 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.216e-05/0.2021, allocations: 43.69 kB / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2021, allocations: 0 / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2022, allocations: 0 / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2022, allocations: 3.984 kB / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.2045, allocations: 0.7142 MB / 0.8435 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2045, allocations: 0 / 0.8435 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.2046, allocations: 7.984 kB / 0.8435 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2046, allocations: 0 / 0.8435 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.2046, allocations: 15.98 kB / 0.8436 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.2046, allocations: 7.984 kB / 0.8436 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2046, allocations: 0 / 0.8436 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.2065, allocations: 487.4 kB / 0.844 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.2068, allocations: 133.5 kB / 0.8442 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.2069, allocations: 8 kB / 0.8442 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.2074, allocations: 31.95 kB / 0.8442 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.2075, allocations: 11.98 kB / 0.8442 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.2075, allocations: 55.98 kB / 0.8443 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003578/0.2079, allocations: 295.1 kB / 0.8445 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2079, allocations: 0 / 0.8445 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004112/0.2083, allocations: 67.98 kB / 0.8446 GB, free: 12.44 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.002242/0.2106, allocations: 1.035 MB / 0.8456 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.212, allocations: 469.9 kB / 0.8461 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.212, allocations: 0 / 0.8461 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008033/0.2128, allocations: 120.2 kB / 0.8462 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.2132, allocations: 36.12 kB / 0.8462 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.218, allocations: 3.077 MB / 0.8492 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.2182, allocations: 170.9 kB / 0.8494 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.596e-05/0.2182, allocations: 13.23 kB / 0.8494 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.2183, allocations: 31.41 kB / 0.8494 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of SimCode: time 1.333e-06/0.2183, allocations: 0 / 0.8494 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/0.2569, allocations: 7.61 MB / 0.8569 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.59, allocations: 7.719 kB / 0.8569 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 648] (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: 15.974160988931544] Failed to read output from testmodel.py, exit status != 0: 11.753811171045527 11.779909168 11.587158023 Calling exit ...