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.001113/0.001113, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001249/0.001249, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 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.127/1.127, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.002429/0.002429, allocations: 250.3 kB / 260.5 MB, free: 12.71 MB / 250.7 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 0.7316/0.7316, allocations: 138.4 MB / 402.2 MB, free: 496 kB / 362.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.713e-05, allocations: 5.047 kB / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.004071/0.004098, allocations: 1.607 MB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.005554, allocations: 0.5425 MB / 464.5 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.005629, allocations: 0.7656 kB / 464.5 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.005746, allocations: 11.52 kB / 464.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.005881, allocations: 28.5 kB / 464.5 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.006647, allocations: 321.6 kB / 464.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.007164, allocations: 492 kB / 465.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.007214, allocations: 7.859 kB / 465.3 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.007643, allocations: 362.6 kB / 465.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.007893, allocations: 131 kB / 465.8 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.612e-05/0.007949, allocations: 27.75 kB / 465.8 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.386e-05/0.007993, allocations: 26.38 kB / 465.8 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.008107, allocations: 122.4 kB / 466 MB, free: 14.94 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.008224, allocations: 136.3 kB / 466.1 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.008507, allocations: 374.8 kB / 466.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.008509, allocations: 0 / 466.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.008509, allocations: 0 / 466.5 MB, free: 14.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.008515, allocations: 4 kB / 466.5 MB, free: 14.5 MB / 426.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.0007352/0.00925, allocations: 0.7401 MB / 467.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.009283, allocations: 8.75 kB / 467.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.009357, allocations: 48.88 kB / 467.3 MB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.009592, allocations: 236 kB / 467.5 MB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.009625, allocations: 18.2 kB / 467.5 MB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.009672, allocations: 32.36 kB / 467.5 MB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.009995, allocations: 191 kB / 467.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.01, allocations: 1.906 kB / 467.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.01002, allocations: 384 / 467.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.01003, allocations: 4.375 kB / 467.7 MB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.0101, allocations: 42.7 kB / 467.8 MB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.01026, allocations: 108.9 kB / 467.9 MB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.01041, allocations: 100.6 kB / 468 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.01048, allocations: 41.34 kB / 468 MB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.0105, allocations: 4.625 kB / 468 MB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.01067, allocations: 160.5 kB / 468.2 MB, free: 12.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.01067, allocations: 0 / 468.2 MB, free: 12.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003222/0.01099, allocations: 203.1 kB / 468.4 MB, free: 12.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.01102, allocations: 63.34 kB / 468.4 MB, free: 12.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.0112, allocations: 327.3 kB / 468.8 MB, free: 12.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.01124, allocations: 42.88 kB / 468.8 MB, free: 12.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.01128, allocations: 97.42 kB / 468.9 MB, free: 11.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.01131, allocations: 35.73 kB / 468.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.01142, allocations: 122.8 kB / 469 MB, free: 11.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.0115, allocations: 322.8 kB / 469.4 MB, free: 11.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.01165, allocations: 155.3 kB / 469.5 MB, free: 11.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.01179, allocations: 207.7 kB / 469.7 MB, free: 11.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.01198, allocations: 251 kB / 470 MB, free: 10.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01198, allocations: 0.6875 kB / 470 MB, free: 10.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003501/0.01233, allocations: 438.8 kB / 470.4 MB, free: 10.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.01238, allocations: 79.38 kB / 470.5 MB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01238, allocations: 0 / 470.5 MB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.0124, allocations: 4 kB / 470.5 MB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.01251, allocations: 35.91 kB / 470.5 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.01251, allocations: 4.562 kB / 470.5 MB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01267, allocations: 49.73 kB / 470.6 MB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.01272, allocations: 61.84 kB / 470.6 MB, free: 10.11 MB / 426.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.0001077/0.01283, allocations: 138.6 kB / 470.8 MB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.01287, allocations: 27.97 kB / 470.8 MB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.01291, allocations: 33.88 kB / 470.8 MB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01291, allocations: 0 / 470.8 MB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.01291, allocations: 0 / 470.8 MB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01292, allocations: 2.953 kB / 470.8 MB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.01333, allocations: 390.4 kB / 471.2 MB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01333, allocations: 0 / 471.2 MB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.01336, allocations: 8.484 kB / 471.2 MB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01336, allocations: 0.9688 kB / 471.2 MB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.01338, allocations: 11.98 kB / 471.2 MB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.01338, allocations: 1 kB / 471.2 MB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01338, allocations: 0.5 kB / 471.2 MB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.01361, allocations: 245.1 kB / 471.5 MB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.01374, allocations: 123.5 kB / 471.6 MB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.01379, allocations: 12.91 kB / 471.6 MB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.01396, allocations: 31.25 kB / 471.6 MB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.01399, allocations: 15.92 kB / 471.6 MB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/0.01403, allocations: 47.97 kB / 471.7 MB, free: 9.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.01412, allocations: 136.7 kB / 471.8 MB, free: 8.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01412, allocations: 0 / 471.8 MB, free: 8.895 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000202/0.01432, allocations: 65.7 kB / 471.9 MB, free: 8.832 MB / 426.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.000107/0.01443, allocations: 104.3 kB / 472 MB, free: 8.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.01482, allocations: 402.8 kB / 472.4 MB, free: 8.301 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.01483, allocations: 4 kB / 472.4 MB, free: 8.297 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.01492, allocations: 68.69 kB / 472.5 MB, free: 8.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.01511, allocations: 38.47 kB / 472.5 MB, free: 8.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.01574, allocations: 461.1 kB / 472.9 MB, free: 7.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.432e-05/0.0158, allocations: 83.81 kB / 473 MB, free: 7.617 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.78e-05/0.01583, allocations: 15.48 kB / 473 MB, free: 7.605 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.01602, allocations: 127.1 kB / 473.2 MB, free: 7.488 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01602, allocations: 0 / 473.2 MB, free: 7.488 MB / 426.7 MB Notification: Performance of Templates: time 0.006822/0.02284, allocations: 5.324 MB / 478.5 MB, free: 2.379 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7344908439554274]