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.001535/0.001535, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001353/0.001353, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.002458/0.002458, allocations: 287.8 kB / 313.5 MB, free: 2.848 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.132/1.132, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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.002912/0.002912, allocations: 104.4 kB / 0.7408 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.17, allocations: 95.38 MB / 0.8339 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002781/0.1728, allocations: 1.559 MB / 0.8354 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1741, allocations: 0.5574 MB / 0.836 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.1742, allocations: 4 kB / 0.836 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1743, allocations: 11.86 kB / 0.836 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1744, allocations: 19.88 kB / 0.836 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.1752, allocations: 312.9 kB / 0.8363 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.1757, allocations: 487.5 kB / 0.8368 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.1758, allocations: 0 / 0.8368 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.1762, allocations: 283.6 kB / 0.8371 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1765, allocations: 147.7 kB / 0.8372 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.1765, allocations: 28 kB / 0.8372 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.1766, allocations: 28 kB / 0.8373 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1767, allocations: 119.6 kB / 0.8374 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.1769, allocations: 187 kB / 0.8375 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.1774, allocations: 422.4 kB / 0.838 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1774, allocations: 3.984 kB / 0.838 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1774, allocations: 0 / 0.838 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.1774, allocations: 0 / 0.838 GB, free: 4.047 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.00125/0.1787, allocations: 0.7951 MB / 0.8387 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1787, allocations: 9.938 kB / 0.8387 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1788, allocations: 52.7 kB / 0.8388 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.1793, allocations: 268.6 kB / 0.839 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.1793, allocations: 16.36 kB / 0.8391 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.1794, allocations: 28.36 kB / 0.8391 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000905/0.1803, allocations: 216.5 kB / 0.8393 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1803, allocations: 192 / 0.8393 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.1803, allocations: 3.938 kB / 0.8393 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1803, allocations: 4 kB / 0.8393 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006862/0.181, allocations: 107.8 kB / 0.8394 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.1815, allocations: 352.4 kB / 0.8397 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/0.1824, allocations: 170.4 kB / 0.8399 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/0.1831, allocations: 112.7 kB / 0.84 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1831, allocations: 0 / 0.84 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008862/0.184, allocations: 219.2 kB / 0.8402 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.184, allocations: 0 / 0.8402 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002331/0.1863, allocations: 495.9 kB / 0.8407 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1864, allocations: 67.33 kB / 0.8408 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/0.1868, allocations: 409.9 kB / 0.8412 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.1869, allocations: 41.69 kB / 0.8412 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.187, allocations: 97.44 kB / 0.8413 GB, free: 448 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.187, allocations: 39.69 kB / 0.8413 GB, free: 408 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.1872, allocations: 133.5 kB / 0.8414 GB, free: 268 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1874, allocations: 314.8 kB / 0.8417 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.1876, allocations: 115.9 kB / 0.8419 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.1879, allocations: 175.2 kB / 0.842 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.1883, allocations: 284.3 kB / 0.8423 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1883, allocations: 0 / 0.8423 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000811/0.1891, allocations: 488.7 kB / 0.8428 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/0.1892, allocations: 91.31 kB / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1892, allocations: 4 kB / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1892, allocations: 7.938 kB / 0.8429 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1894, allocations: 20.17 kB / 0.8429 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1894, allocations: 8 kB / 0.8429 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.1899, allocations: 63.77 kB / 0.8429 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.19, allocations: 63.92 kB / 0.843 GB, free: 14.57 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.0002258/0.1902, allocations: 184.4 kB / 0.8432 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.1902, allocations: 43.7 kB / 0.8432 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.1903, allocations: 43.67 kB / 0.8433 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1903, allocations: 4 kB / 0.8433 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.1903, allocations: 0 / 0.8433 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1903, allocations: 0 / 0.8433 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.1924, allocations: 0.72 MB / 0.844 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1924, allocations: 0 / 0.844 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.1924, allocations: 7.984 kB / 0.844 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1924, allocations: 0 / 0.844 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.1925, allocations: 19.98 kB / 0.844 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.1925, allocations: 3.938 kB / 0.844 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1925, allocations: 0 / 0.844 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.194, allocations: 479.4 kB / 0.8445 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.1943, allocations: 129.5 kB / 0.8446 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/0.1944, allocations: 8 kB / 0.8446 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.1948, allocations: 35.97 kB / 0.8446 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.1949, allocations: 11.97 kB / 0.8446 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.1949, allocations: 63.92 kB / 0.8447 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003013/0.1952, allocations: 291.1 kB / 0.845 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1952, allocations: 0 / 0.845 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003667/0.1956, allocations: 67.98 kB / 0.845 GB, free: 12.41 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.000177/0.1958, allocations: 119.2 kB / 0.8452 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.197, allocations: 409.2 kB / 0.8455 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.197, allocations: 0 / 0.8455 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006606/0.1976, allocations: 115.8 kB / 0.8457 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.198, allocations: 33.95 kB / 0.8457 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.1994, allocations: 0.592 MB / 0.8463 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.1998, allocations: 0.7669 MB / 0.847 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.1999, allocations: 23.42 kB / 0.847 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of SimCode: time 4.6e-07/0.1999, allocations: 0 / 0.847 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.00606/0.2059, allocations: 3.687 MB / 0.8506 GB, free: 6.551 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.07834716909565] Failed to read output from testmodel.py, exit status != 0: 0.21430045901797712 0.228719526 0.048309962000000005 Calling exit ...