Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001438/0.001438, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001637/0.001637, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.785 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.00248/0.00248, allocations: 286.2 kB / 312.7 MB, free: 2.586 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.231/1.231, allocations: 180.6 MB / 0.5369 GB, free: 14.63 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") [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.002817/0.002817, allocations: 101.6 kB / 0.74 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1776, allocations: 95.37 MB / 0.8331 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002956/0.1805, allocations: 1.543 MB / 0.8346 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1817, allocations: 0.5219 MB / 0.8351 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.1818, allocations: 0 / 0.8351 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.752e-05/0.1819, allocations: 7.875 kB / 0.8351 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.182, allocations: 27.84 kB / 0.8352 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008097/0.1828, allocations: 326.3 kB / 0.8355 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.1834, allocations: 483.5 kB / 0.8359 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.1834, allocations: 4 kB / 0.8359 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.1839, allocations: 283.6 kB / 0.8362 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.1841, allocations: 127.7 kB / 0.8363 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.484e-05/0.1842, allocations: 24 kB / 0.8363 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.1843, allocations: 28 kB / 0.8364 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1845, allocations: 123.6 kB / 0.8365 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.1847, allocations: 155.3 kB / 0.8366 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.1852, allocations: 430.4 kB / 0.837 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1852, allocations: 0 / 0.837 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1852, allocations: 0 / 0.837 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1852, allocations: 0 / 0.837 GB, free: 3.812 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.001267/0.1864, allocations: 0.795 MB / 0.8378 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1865, allocations: 21.86 kB / 0.8378 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1866, allocations: 48.7 kB / 0.8379 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.1871, allocations: 256.8 kB / 0.8381 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.492e-05/0.1871, allocations: 16.36 kB / 0.8381 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.899e-05/0.1872, allocations: 28.36 kB / 0.8382 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009331/0.1881, allocations: 210 kB / 0.8384 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1881, allocations: 192 / 0.8384 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.1881, allocations: 11.92 kB / 0.8384 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.1882, allocations: 3.938 kB / 0.8384 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.1889, allocations: 107.9 kB / 0.8385 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.1893, allocations: 285 kB / 0.8388 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/0.1902, allocations: 162.5 kB / 0.8389 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/0.1909, allocations: 104.8 kB / 0.839 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.191, allocations: 4 kB / 0.839 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009654/0.1919, allocations: 219.2 kB / 0.8392 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1919, allocations: 0 / 0.8392 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002406/0.1943, allocations: 499.5 kB / 0.8397 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1944, allocations: 63.39 kB / 0.8398 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.1948, allocations: 409.9 kB / 0.8402 GB, free: 448 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.1949, allocations: 41.69 kB / 0.8402 GB, free: 400 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.195, allocations: 93.45 kB / 0.8403 GB, free: 304 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.1951, allocations: 39.67 kB / 0.8403 GB, free: 264 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.1952, allocations: 129.5 kB / 0.8405 GB, free: 128 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.1954, allocations: 318.8 kB / 0.8408 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.1958, allocations: 195.3 kB / 0.8409 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.1961, allocations: 242.5 kB / 0.8412 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.1965, allocations: 279.5 kB / 0.8414 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1965, allocations: 3.938 kB / 0.8414 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009477/0.1975, allocations: 0.5469 MB / 0.842 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.1975, allocations: 79.38 kB / 0.8421 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1975, allocations: 4 kB / 0.8421 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1976, allocations: 8.125 kB / 0.8421 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1977, allocations: 23.98 kB / 0.8421 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.1977, allocations: 15.91 kB / 0.8421 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.1982, allocations: 55.84 kB / 0.8422 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/0.1983, allocations: 55.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.0002354/0.1985, allocations: 188.4 kB / 0.8424 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.1986, allocations: 43.77 kB / 0.8424 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/0.1986, allocations: 47.59 kB / 0.8425 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1986, allocations: 4 kB / 0.8425 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1986, allocations: 0 / 0.8425 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1986, allocations: 3.938 kB / 0.8425 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.201, allocations: 0.6739 MB / 0.8431 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.201, allocations: 11.92 kB / 0.8432 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.2011, allocations: 4 kB / 0.8432 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2011, allocations: 3.938 kB / 0.8432 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.2011, allocations: 23.97 kB / 0.8432 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2011, allocations: 4 kB / 0.8432 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2011, allocations: 0 / 0.8432 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.2028, allocations: 482.2 kB / 0.8436 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/0.2033, allocations: 141.4 kB / 0.8438 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.2034, allocations: 11.98 kB / 0.8438 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.2038, allocations: 35.91 kB / 0.8438 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.2039, allocations: 7.984 kB / 0.8438 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/0.2039, allocations: 59.97 kB / 0.8439 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003135/0.2043, allocations: 299.1 kB / 0.8442 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2043, allocations: 0 / 0.8442 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003483/0.2046, allocations: 64 kB / 0.8442 GB, free: 12.05 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.0001945/0.2048, allocations: 119.1 kB / 0.8444 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.2061, allocations: 478.1 kB / 0.8448 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2061, allocations: 0 / 0.8448 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.2068, allocations: 111.9 kB / 0.8449 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.2071, allocations: 31.58 kB / 0.8449 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2086, allocations: 0.5514 MB / 0.8455 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.2088, allocations: 166.9 kB / 0.8456 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.844e-05/0.2089, allocations: 13.08 kB / 0.8457 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.2089, allocations: 23.42 kB / 0.8457 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.2089, allocations: 0 / 0.8457 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of Templates: time 0.0115/0.2204, allocations: 6.095 MB / 0.8516 GB, free: 4.367 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.016131147742271] Failed to read output from testmodel.py, exit status != 0: 0.22912985272705555 0.24423596899999994 0.055931277 Calling exit ...