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.001285/0.001285, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001443/0.001443, allocations: 213.8 kB / 22.99 MB, free: 4.945 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.413/1.413, allocations: 230.6 MB / 256.8 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.00245/0.00245, allocations: 295.3 kB / 313.5 MB, free: 2.617 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.169/1.169, allocations: 180.6 MB / 0.5377 GB, free: 14.62 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.002849/0.002849, allocations: 104.7 kB / 0.7407 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.164, allocations: 95.38 MB / 0.8338 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002647/0.1667, allocations: 1.526 MB / 0.8353 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.168, allocations: 0.5227 MB / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.168, allocations: 0 / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.602e-05/0.1681, allocations: 15.86 kB / 0.8359 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1682, allocations: 27.84 kB / 0.8359 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007492/0.169, allocations: 314.1 kB / 0.8362 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.1695, allocations: 487.5 kB / 0.8367 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.1695, allocations: 4 kB / 0.8367 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.1699, allocations: 287.5 kB / 0.8369 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1701, allocations: 139.6 kB / 0.8371 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.276e-05/0.1702, allocations: 28 kB / 0.8371 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.1703, allocations: 24 kB / 0.8371 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1705, allocations: 115.7 kB / 0.8372 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.1706, allocations: 151.3 kB / 0.8374 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.1711, allocations: 426.4 kB / 0.8378 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1711, allocations: 4 kB / 0.8378 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1711, allocations: 0 / 0.8378 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1711, allocations: 0 / 0.8378 GB, free: 3.801 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.001204/0.1723, allocations: 0.8066 MB / 0.8386 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1723, allocations: 13.88 kB / 0.8386 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1724, allocations: 52.69 kB / 0.8386 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1729, allocations: 256.7 kB / 0.8389 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.1729, allocations: 20.36 kB / 0.8389 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.173, allocations: 24.38 kB / 0.8389 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/0.1739, allocations: 222 kB / 0.8391 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1739, allocations: 192 / 0.8391 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.1739, allocations: 3.938 kB / 0.8391 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1739, allocations: 0 / 0.8391 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007085/0.1746, allocations: 99.86 kB / 0.8392 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.175, allocations: 281.1 kB / 0.8395 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.176, allocations: 166.5 kB / 0.8397 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/0.1766, allocations: 104.8 kB / 0.8398 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1767, allocations: 4 kB / 0.8398 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009341/0.1776, allocations: 223.2 kB / 0.84 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.1776, allocations: 0 / 0.84 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002386/0.18, allocations: 0.4914 MB / 0.8405 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.18, allocations: 59.41 kB / 0.8405 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.1805, allocations: 409.9 kB / 0.8409 GB, free: 432 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.1806, allocations: 37.7 kB / 0.8409 GB, free: 388 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.1806, allocations: 97.44 kB / 0.841 GB, free: 288 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.1807, allocations: 47.62 kB / 0.8411 GB, free: 240 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.1809, allocations: 129.5 kB / 0.8412 GB, free: 104 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.1811, allocations: 322.8 kB / 0.8415 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.1814, allocations: 191.3 kB / 0.8417 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.1818, allocations: 247 kB / 0.8419 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.1822, allocations: 263.8 kB / 0.8422 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1822, allocations: 4 kB / 0.8422 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008623/0.183, allocations: 0.5547 MB / 0.8427 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.691e-05/0.1831, allocations: 87.3 kB / 0.8428 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1831, allocations: 4 kB / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1831, allocations: 3.938 kB / 0.8428 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.1833, allocations: 19.98 kB / 0.8428 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1833, allocations: 7.938 kB / 0.8428 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.1837, allocations: 60.03 kB / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.1838, allocations: 63.97 kB / 0.843 GB, free: 14.17 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.0002349/0.1841, allocations: 188.4 kB / 0.8431 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.1841, allocations: 35.77 kB / 0.8432 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.91e-05/0.1842, allocations: 43.62 kB / 0.8432 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.1842, allocations: 11.97 kB / 0.8432 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1842, allocations: 4 kB / 0.8432 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1842, allocations: 3.938 kB / 0.8432 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.1863, allocations: 0.6738 MB / 0.8439 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1863, allocations: 3.938 kB / 0.8439 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.1864, allocations: 4 kB / 0.8439 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1864, allocations: 11.94 kB / 0.8439 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.1864, allocations: 19.97 kB / 0.8439 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1864, allocations: 0 / 0.8439 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1864, allocations: 0 / 0.8439 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.1881, allocations: 482.3 kB / 0.8444 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.1884, allocations: 145.5 kB / 0.8445 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.1884, allocations: 8 kB / 0.8445 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.1889, allocations: 27.97 kB / 0.8446 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.1889, allocations: 11.98 kB / 0.8446 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.189, allocations: 59.97 kB / 0.8446 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003004/0.1893, allocations: 291.1 kB / 0.8449 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1893, allocations: 0 / 0.8449 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003412/0.1896, allocations: 67.98 kB / 0.845 GB, free: 12.04 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.0001497/0.1898, allocations: 129.4 kB / 0.8451 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.1911, allocations: 469.9 kB / 0.8455 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1911, allocations: 0 / 0.8455 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.1918, allocations: 116.2 kB / 0.8457 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1922, allocations: 32.14 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.001421/0.1936, allocations: 0.592 MB / 0.8463 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.1938, allocations: 166.9 kB / 0.8464 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.1938, allocations: 19.42 kB / 0.8464 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.1938, allocations: 0 / 0.8464 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.005926/0.1997, allocations: 3.702 MB / 0.8501 GB, free: 6.711 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: 8.158502266742289] Failed to read output from testmodel.py, exit status != 0: 0.20707997493445873 0.22213652900000003 0.048081024 Calling exit ...