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.0007629/0.0007629, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001826, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007537/0.0007537, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001166/0.001919, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.012/1.012, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09096/1.103, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001614/0.001614, allocations: 246 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002887, allocations: 471 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7149/0.7149, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08699/0.8019, allocations: 42.39 MB / 426.5 MB, free: 5.965 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 7.922 kB / 427.7 MB, free: 4.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.377e-05, allocations: 2.312 kB / 427.8 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002067/0.002091, allocations: 1.608 MB / 429.4 MB, free: 3.059 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.002979, allocations: 0.5536 MB / 429.9 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.003031, allocations: 0 / 429.9 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.055e-05/0.003081, allocations: 11.86 kB / 429.9 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.003164, allocations: 27.86 kB / 430 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.003663, allocations: 335.1 kB / 430.3 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.004049, allocations: 491.5 kB / 430.8 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.004084, allocations: 7.938 kB / 430.8 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.004423, allocations: 367.7 kB / 431.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.004621, allocations: 131.7 kB / 431.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.004668, allocations: 32 kB / 431.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.277e-05/0.004711, allocations: 28 kB / 431.3 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.004801, allocations: 103.7 kB / 431.4 MB, free: 1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.0049, allocations: 95.81 kB / 431.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.005194, allocations: 346.9 kB / 431.8 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.005209, allocations: 0 / 431.8 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005211, allocations: 0 / 431.8 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.005229, allocations: 0 / 431.8 MB, free: 0.5664 MB / 410.7 MB 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.2042/0.2094, allocations: 0.8091 MB / 432.7 MB, free: 3.164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2095, allocations: 8.969 kB / 432.7 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.2096, allocations: 52.38 kB / 432.7 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.2099, allocations: 230.4 kB / 432.9 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.2099, allocations: 19.06 kB / 433 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.21, allocations: 30.78 kB / 433 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.2104, allocations: 182.6 kB / 433.2 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2104, allocations: 1.406 kB / 433.2 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.2104, allocations: 2.312 kB / 433.2 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2104, allocations: 4.094 kB / 433.2 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.2105, allocations: 42.17 kB / 433.2 MB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.2107, allocations: 115.5 kB / 433.3 MB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.2109, allocations: 93.39 kB / 433.4 MB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.2109, allocations: 41.38 kB / 433.5 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.211, allocations: 6.906 kB / 433.5 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.2112, allocations: 151.1 kB / 433.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.2112, allocations: 3.781 kB / 433.6 MB, free: 2.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003746/0.2116, allocations: 205.7 kB / 433.8 MB, free: 2.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2116, allocations: 57.98 kB / 433.9 MB, free: 2.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.2118, allocations: 329 kB / 434.2 MB, free: 2.598 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.2119, allocations: 38.56 kB / 434.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.2119, allocations: 97.28 kB / 434.3 MB, free: 2.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.212, allocations: 41.41 kB / 434.4 MB, free: 2.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.2121, allocations: 110.4 kB / 434.5 MB, free: 2.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.2122, allocations: 329.2 kB / 434.8 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.2124, allocations: 159.2 kB / 435 MB, free: 2.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.2125, allocations: 198.3 kB / 435.1 MB, free: 1.934 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.2128, allocations: 249.9 kB / 435.4 MB, free: 1.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2128, allocations: 0.6875 kB / 435.4 MB, free: 1.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004056/0.2132, allocations: 430.7 kB / 435.8 MB, free: 1.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.2133, allocations: 79.73 kB / 435.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.2133, allocations: 4.906 kB / 435.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2133, allocations: 2.281 kB / 435.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.2135, allocations: 41.56 kB / 435.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2135, allocations: 4.469 kB / 435.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2137, allocations: 45.75 kB / 436 MB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.2137, allocations: 56.27 kB / 436 MB, free: 1.586 MB / 410.7 MB 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.0001192/0.2139, allocations: 143.4 kB / 436.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.2139, allocations: 27.5 kB / 436.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.214, allocations: 35.38 kB / 436.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.214, allocations: 3.078 kB / 436.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.214, allocations: 0.625 kB / 436.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.214, allocations: 1.156 kB / 436.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.2144, allocations: 381.6 kB / 436.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2144, allocations: 0.5156 kB / 436.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.2145, allocations: 11.56 kB / 436.6 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.2146, allocations: 114.9 kB / 436.7 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2146, allocations: 1.125 kB / 436.7 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.2146, allocations: 15.55 kB / 436.8 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2147, allocations: 5.312 kB / 436.8 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2147, allocations: 1.641 kB / 436.8 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.2149, allocations: 240.4 kB / 437 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.2149, allocations: 14.5 kB / 437 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2151, allocations: 27.91 kB / 437 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.2151, allocations: 16.7 kB / 437.1 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-05/0.2152, allocations: 50.78 kB / 437.1 MB, free: 1.094 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001688/0.2154, allocations: 138.2 kB / 437.2 MB, free: 1.074 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2154, allocations: 0 / 437.2 MB, free: 1.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.2157, allocations: 67.16 kB / 437.3 MB, free: 1.074 MB / 410.7 MB 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.0001207/0.2158, allocations: 98.77 kB / 437.4 MB, free: 1.008 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004407/0.2162, allocations: 394.7 kB / 437.8 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/0.2162, allocations: 7.188 kB / 437.8 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.2163, allocations: 59.17 kB / 437.9 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.2166, allocations: 71.2 kB / 437.9 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.2175, allocations: 468.4 kB / 438.4 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.2176, allocations: 87.17 kB / 438.5 MB, free: 468 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.841e-05/0.2176, allocations: 13.17 kB / 438.5 MB, free: 468 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.2178, allocations: 117.2 kB / 438.6 MB, free: 424 kB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2178, allocations: 0 / 438.6 MB, free: 424 kB / 410.7 MB Notification: Performance of Templates: time 0.008054/0.2259, allocations: 5.396 MB / 444 MB, free: 14.8 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5272243600338697]