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.001372/0.001372, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001553/0.001553, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.801 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.002541/0.002541, allocations: 286.4 kB / 312.7 MB, free: 2.625 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.238/1.238, allocations: 180.6 MB / 0.5369 GB, free: 14.57 MB / 382.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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [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.002905/0.002905, allocations: 105.8 kB / 0.74 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1844, allocations: 95.37 MB / 0.8331 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002863/0.1873, allocations: 1.54 MB / 0.8346 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1886, allocations: 0.5266 MB / 0.8351 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.1887, allocations: 0 / 0.8351 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.1888, allocations: 15.8 kB / 0.8351 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.1889, allocations: 23.86 kB / 0.8351 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008356/0.1897, allocations: 317.2 kB / 0.8354 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.1903, allocations: 483.5 kB / 0.8359 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1904, allocations: 4 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.1908, allocations: 291.6 kB / 0.8362 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.1911, allocations: 127.7 kB / 0.8363 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.1912, allocations: 24 kB / 0.8363 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.351e-05/0.1913, allocations: 28 kB / 0.8364 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1915, allocations: 115.6 kB / 0.8365 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.1916, allocations: 155.3 kB / 0.8366 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.1921, allocations: 430.4 kB / 0.837 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1921, allocations: 0 / 0.837 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1921, allocations: 0 / 0.837 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1921, allocations: 4 kB / 0.837 GB, free: 3.824 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.001295/0.1934, allocations: 0.8027 MB / 0.8378 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1934, allocations: 13.34 kB / 0.8378 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.1936, allocations: 48.7 kB / 0.8379 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.194, allocations: 252.8 kB / 0.8381 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.1941, allocations: 20.31 kB / 0.8381 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.1942, allocations: 28.36 kB / 0.8382 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009064/0.1951, allocations: 218.9 kB / 0.8384 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1951, allocations: 4.188 kB / 0.8384 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.1951, allocations: 3.938 kB / 0.8384 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1951, allocations: 0 / 0.8384 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006838/0.1958, allocations: 99.86 kB / 0.8385 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.1962, allocations: 289 kB / 0.8388 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.1971, allocations: 166.5 kB / 0.8389 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.1978, allocations: 100.8 kB / 0.839 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1978, allocations: 0 / 0.839 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008798/0.1987, allocations: 227.2 kB / 0.8392 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1987, allocations: 0 / 0.8392 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002338/0.201, allocations: 0.4914 MB / 0.8397 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.2011, allocations: 59.41 kB / 0.8398 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.2015, allocations: 405.9 kB / 0.8401 GB, free: 464 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.2016, allocations: 41.69 kB / 0.8402 GB, free: 416 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.2017, allocations: 97.44 kB / 0.8403 GB, free: 316 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.2017, allocations: 43.67 kB / 0.8403 GB, free: 272 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.2019, allocations: 129.5 kB / 0.8404 GB, free: 136 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2021, allocations: 326.8 kB / 0.8408 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.2024, allocations: 183.3 kB / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.2027, allocations: 254.4 kB / 0.8412 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.2031, allocations: 275.3 kB / 0.8414 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.2031, allocations: 0 / 0.8414 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008584/0.2039, allocations: 0.5535 MB / 0.842 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.819e-05/0.204, allocations: 79.38 kB / 0.8421 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.204, allocations: 4 kB / 0.8421 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.204, allocations: 3.938 kB / 0.8421 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.2042, allocations: 23.97 kB / 0.8421 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2042, allocations: 7.938 kB / 0.8421 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.2046, allocations: 60.03 kB / 0.8422 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/0.2047, allocations: 59.98 kB / 0.8422 GB, free: 14.2 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.000212/0.205, allocations: 195.5 kB / 0.8424 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.563e-05/0.205, allocations: 35.77 kB / 0.8424 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.2051, allocations: 43.62 kB / 0.8425 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2051, allocations: 4 kB / 0.8425 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2051, allocations: 3.938 kB / 0.8425 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2051, allocations: 3.984 kB / 0.8425 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.2072, allocations: 0.6739 MB / 0.8431 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2072, allocations: 3.938 kB / 0.8431 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.2072, allocations: 7.938 kB / 0.8432 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.2072, allocations: 4 kB / 0.8432 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.2072, allocations: 23.91 kB / 0.8432 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2072, allocations: 4 kB / 0.8432 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2072, allocations: 0 / 0.8432 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2088, allocations: 482.4 kB / 0.8436 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.2091, allocations: 133.5 kB / 0.8438 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.779e-05/0.2092, allocations: 11.98 kB / 0.8438 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.2096, allocations: 34.97 kB / 0.8438 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.2097, allocations: 15.97 kB / 0.8438 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.2097, allocations: 59.97 kB / 0.8439 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003162/0.21, allocations: 291.1 kB / 0.8442 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.21, allocations: 0 / 0.8442 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003238/0.2104, allocations: 71.98 kB / 0.8442 GB, free: 12.07 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.0001487/0.2105, allocations: 113.4 kB / 0.8443 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.2117, allocations: 473.9 kB / 0.8448 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2117, allocations: 4 kB / 0.8448 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000692/0.2124, allocations: 108.2 kB / 0.8449 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.2128, allocations: 33.58 kB / 0.8449 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.2142, allocations: 0.5591 MB / 0.8455 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.2143, allocations: 166.8 kB / 0.8456 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.432e-05/0.2144, allocations: 13.09 kB / 0.8456 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.2144, allocations: 15.42 kB / 0.8457 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.2144, allocations: 4 kB / 0.8457 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.01004/0.2245, allocations: 6.08 MB / 0.8516 GB, free: 4.395 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9628023356199265] Failed to read output from testmodel.py, exit status != 0: 0.23206442594528198 0.24719032099999996 0.05206758999999994 Calling exit ...