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.001532/0.001532, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001729/0.001729, allocations: 217.5 kB / 22.99 MB, free: 4.965 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002457/0.002457, allocations: 301 kB / 313.5 MB, free: 2.609 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.166/1.166, allocations: 180.6 MB / 0.5377 GB, free: 14.66 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.002859/0.002859, allocations: 101.1 kB / 0.7407 GB, free: 27.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1653, allocations: 95.39 MB / 0.8338 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002708/0.168, allocations: 1.526 MB / 0.8353 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1692, allocations: 0.5282 MB / 0.8358 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.1693, allocations: 0 / 0.8358 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.758e-05/0.1694, allocations: 11.86 kB / 0.8359 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1695, allocations: 23.86 kB / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007415/0.1702, allocations: 326.1 kB / 0.8362 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005048/0.1707, allocations: 479.5 kB / 0.8366 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.1708, allocations: 8 kB / 0.8367 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.1711, allocations: 279.6 kB / 0.8369 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.1714, allocations: 131.7 kB / 0.837 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.627e-05/0.1715, allocations: 28 kB / 0.8371 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.596e-05/0.1716, allocations: 24 kB / 0.8371 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1717, allocations: 119.6 kB / 0.8372 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.1719, allocations: 155.3 kB / 0.8374 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.1723, allocations: 430.4 kB / 0.8378 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1723, allocations: 0 / 0.8378 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1723, allocations: 3.938 kB / 0.8378 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.1723, allocations: 0 / 0.8378 GB, free: 3.781 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.001177/0.1735, allocations: 0.8066 MB / 0.8386 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1735, allocations: 9.344 kB / 0.8386 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1736, allocations: 48.7 kB / 0.8386 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1741, allocations: 256.7 kB / 0.8389 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.1741, allocations: 16.38 kB / 0.8389 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/0.1742, allocations: 36.36 kB / 0.8389 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008855/0.1751, allocations: 211.9 kB / 0.8391 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1751, allocations: 4.172 kB / 0.8391 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.1751, allocations: 3.938 kB / 0.8391 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1751, allocations: 0 / 0.8391 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007056/0.1758, allocations: 103.9 kB / 0.8392 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.1762, allocations: 277.1 kB / 0.8395 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009508/0.1771, allocations: 166.5 kB / 0.8396 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/0.1778, allocations: 108.7 kB / 0.8397 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1778, allocations: 0 / 0.8397 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008905/0.1787, allocations: 224 kB / 0.84 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1787, allocations: 0 / 0.84 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002425/0.1811, allocations: 499.1 kB / 0.8404 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.1812, allocations: 67.38 kB / 0.8405 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.1816, allocations: 405.9 kB / 0.8409 GB, free: 420 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.1817, allocations: 41.69 kB / 0.8409 GB, free: 372 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.1818, allocations: 101.4 kB / 0.841 GB, free: 268 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.1818, allocations: 35.7 kB / 0.8411 GB, free: 232 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.182, allocations: 133.5 kB / 0.8412 GB, free: 92 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1821, allocations: 326.8 kB / 0.8415 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.1824, allocations: 187.3 kB / 0.8417 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.1828, allocations: 250.5 kB / 0.8419 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.1831, allocations: 271.3 kB / 0.8422 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1831, allocations: 0 / 0.8422 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008638/0.184, allocations: 0.5508 MB / 0.8427 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.678e-05/0.1841, allocations: 81.56 kB / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1841, allocations: 4 kB / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1841, allocations: 3.938 kB / 0.8428 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1842, allocations: 23.97 kB / 0.8428 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1843, allocations: 12.12 kB / 0.8428 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.1847, allocations: 55.84 kB / 0.8429 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.1848, allocations: 59.98 kB / 0.8429 GB, free: 14.16 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.0002154/0.185, allocations: 188.4 kB / 0.8431 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.1851, allocations: 43.69 kB / 0.8432 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.1851, allocations: 43.62 kB / 0.8432 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1851, allocations: 12 kB / 0.8432 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1851, allocations: 0 / 0.8432 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1851, allocations: 0 / 0.8432 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.1872, allocations: 0.6738 MB / 0.8439 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1872, allocations: 11.88 kB / 0.8439 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.1872, allocations: 7.938 kB / 0.8439 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1872, allocations: 4 kB / 0.8439 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.1872, allocations: 19.97 kB / 0.8439 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1872, allocations: 0 / 0.8439 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1872, allocations: 0 / 0.8439 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.1889, allocations: 485.7 kB / 0.8444 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.1891, allocations: 133.5 kB / 0.8445 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.1892, allocations: 11.98 kB / 0.8445 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.1896, allocations: 27.97 kB / 0.8445 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.1897, allocations: 11.98 kB / 0.8446 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.1897, allocations: 63.91 kB / 0.8446 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003001/0.19, allocations: 291.1 kB / 0.8449 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.19, allocations: 4 kB / 0.8449 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003825/0.1904, allocations: 71.98 kB / 0.845 GB, free: 12.02 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.0001498/0.1906, allocations: 113.1 kB / 0.8451 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.1918, allocations: 469.8 kB / 0.8455 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1918, allocations: 4 kB / 0.8455 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.1925, allocations: 116.2 kB / 0.8456 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1928, allocations: 31.25 kB / 0.8457 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.1942, allocations: 0.5959 MB / 0.8462 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.1944, allocations: 166.9 kB / 0.8464 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.1944, allocations: 15.44 kB / 0.8464 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1944, allocations: 4 kB / 0.8464 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.005684/0.2001, allocations: 3.705 MB / 0.85 GB, free: 6.695 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: 8.229851636569947] Failed to read output from testmodel.py, exit status != 0: 0.20736164413392544 0.221818953 0.046636404000000006 Calling exit ...